Template:LocationInfobox: Difference between revisions

From Guidebook
(Created page with "<div id="OrgInfobox" class="noresize" style="style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}"> {| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px" style="float:right; margin-left: 10px;" |- | class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #999999}}}}" | {{{image|}}} |-...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="OrgInfobox" class="noresize" style="style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
<div id="LocInfobox" class="noresize" style="style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px" style="float:right; margin-left: 10px;"
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px" style="float:right; margin-left: 10px;"
|-
|-
Line 6: Line 6:
! class="infoboxheading" colspan="2" style="{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
! class="infoboxheading" colspan="2" style="{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
{{#if:{{{hidei|}}}|{{!}}-|{{!}}-
{{#if:{{{hidei|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''General information'''}}
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} <span style="color:black">'''General information'''</span>}}
{{#if:{{{type|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Organisation type
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{type|}}}
{{!}}-
|}}{{#if:{{{founder|}}}|
|}}{{#if:{{{founder|}}}|
{{!}}-
{{!}}-
Line 19: Line 25:
{{{leader|}}}
{{{leader|}}}
{{!}}-
{{!}}-
|}}{{#if:{{{members|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Notable members
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{members|}}}
{{!}}-
{{!}}-
|}}{{#if:{{{hq|}}}|
|}}{{#if:{{{headquarters|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} City Hall
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Headquarters
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{hq|}}}
{{{headquarters|}}}
{{!}}-
{{!}}-
|}}{{#if:{{{locations|}}}|
|}}{{#if:{{{locations|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Neighbourhoods
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Locations
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{locations|}}}
{{{locations|}}}
{{!}}-
{{!}}-
|}}{{#if:{{{hideh|}}}|{{!}}-|{{!}}-
|}}{{#if:{{{hideh|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Historical information'''}}
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} <span style="color:black">'''Historical information'''</span>}}
{{#if:{{{formed|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Formed from
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{formed|}}}
{{!}}-
|}}{{#if:{{{founded|}}}|
|}}{{#if:{{{founded|}}}|
{{!}}-
{{!}}-
Line 39: Line 56:
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{founded|}}}
{{{founded|}}}
{{!}}-
|}}{{#if:{{{fragmented|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Fragmentation
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{fragmented|}}}
{{!}}-
|}}{{#if:{{{reorganized|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Reorganisation
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{reorganized|}}}
{{!}}-
|}}{{#if:{{{dissolved|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Dissolution
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{dissolved|}}}
{{!}}-
|}}{{#if:{{{restored|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Restoration
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{restored|}}}
{{!}}-
{{!}}-
|}}{{#if:{{{hideot|}}}|{{!}}-|{{!}}-
|}}{{#if:{{{hideot|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Other information'''}}
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} <span style="color:black">'''Other information'''</span>}}
{{#if:{{{siscit|}}}|
{{#if:{{{siscit|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Sister Cities
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Sister City
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{era|}}}
{{{siscit|}}}
{{!}}-
{{!}}-
|}}{{#if:{{{rivals|}}}|
|}}{{#if:{{{rivals|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Rivalry
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Rivals
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{rivals|}}}
{{{rivals|}}}
Line 66: Line 107:


<pre><nowiki>
<pre><nowiki>
{{OrgInfobox
{{LocInfobox
|BG1=40567A
|BG1=40567A
|BG2=617FAD
|BG2=617FAD

Latest revision as of 17:26, 21 December 2024

{{{name}}}
General information
Historical information
Other information


Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

Note: This template has customizable colors for both primary and secondary headings. However, the heading colors will default to shades of gray; choose your colors appropriately.

{{LocInfobox
|BG1=40567A
|BG2=617FAD
|imageBG=FFF
|image=
|name=
|hidei=
|founder=
|leader=
|hq=
|locations=
|hideh=
|founded=
|hideot=
|siscit=
|rivals=}}