Template:Infobox office: Difference between revisions

From Golly.Life Wiki

(Created page with "<includeonly>{{Infobox | name = {{{name}}} | abovestyle = background:#{{{color}}}; color:#ee2222; | above = {{{name}}} | image = File:{{{abbr}}}.p...")
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
  | name        = {{{name}}}
  | name        = {{{name}}}
  | abovestyle  = background:#{{{color}}}; color:#ee2222;
  | abovestyle  = background:#ee2222; color:#272B30;
  | above        = {{{name}}}
  | above        = {{{name}}}


  | image        = [[File:{{{abbr}}}.png|200px|alt={{{name}}} logo]]
  | image        = [[File:{{{logo_file|GollyLogoTransparent.png}}}|200px|alt={{{name}}} logo]]
| caption      = "{{{slogan}}}"


  |headerstyle  = background:#{{{color}}}; color:#272B30;
  |headerstyle  = background:#ee2222; color:#272B30;
  |labelstyle  = background:#272B30; color:#{{{color}}};
  |labelstyle  = background:#272B30; color:#ee2222;
  |datastyle    = background:#272B30; color:#eee;
  |datastyle    = background:#272B30; color:#eee;


  | header1 = Golly
  | header1 = About
  |  data2 = {{Infobox | subbox = yes
  |  data2 = {{Infobox | subbox = yes
     |  label1 = Division    |  data1 = [[Leagues|{{{league}}} {{{division}}} Division]]
     |  label1 = Office Name        |  data1 = {{{name}}}
     |  label2 = League      |  data2 = [[Leagues|{{{league}}} League]]
     |  label2 = Headquarters       |  data2 = {{{headquarters}}}
    |  label3 = Color       |  data3 = {{HexColor|{{{color}}}}}
     |  label3 = Facilities         |  data3 = {{{facilities}}}
    |  label4 = Abbreviation |  data4 = {{{abbr}}}
     |  label4 = Child Divisions    |  data4 = {{{child_divisions}}}<!--
  }}
    -->}}
| header3 = Details
|  data4 = {{Infobox | subbox = yes
    |  label1 = Team Nickname    |  data1 = {{{nickname|}}}
    |  label2 = Hometown        |  data2 = {{{hometown}}}
     |  label3 = Stadium         |  data3 = {{{stadium|None}}}
     |  label4 = Celebrity Mascot |  data4 = {{{celebrity_mascot|}}}
  }}
| header5 = Rivalries
| data6 = {{Infobox | subbox = yes
    |  label1 = Rivals      |  data1 = {{{rivals|None}}}
    |  label2 = Anti-Rivals |  data2 = {{{antirivals|None}}}
  }}
| header7 = Divination
|  data8 = {{Infobox | subbox = yes
    |  label1 = Arcana      |  data1 = {{{arcana|}}}
    |  label2 = Title      |  data2 = {{{arcana_title|}}}
    |  label3 = Emoji      |  data3 = {{{emoji}}}<!--
  -->}}
 
  |belowstyle = background:#122; color: #eee;
  |belowstyle = background:#122; color: #eee;
  |below      = {{Infobox | subbox = yes
  |below      = {{Infobox | subbox = yes
     | data1 = &nbsp;
     | data1 = &nbsp;
     | data2 = [[Template:Infobox team]] {{Dt}} [{{fullurl:Template:Infobox team|action=edit}} edit]
     | data2 = [[Template:Infobox office]] {{Dt}} [{{fullurl:Template:Infobox office|action=edit}} edit]
     | data3 = &nbsp;
     | data3 = &nbsp;
   }}
   }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
The {{Tl|Infobox team}} template is used to define an infobox for a Golly team.
The {{Tl|Infobox office}} template is used to define an infobox for a Golly office.


Here is how you use it:
Here is how you use it:
Line 50: Line 30:
<pre>
<pre>
<nowiki>
<nowiki>
{{Infobox team
{{Infobox office
| name = Baltimore Texas
| name = The Bureaucracy
| abbr = BTX
| logo_file = Office_Bureaucracy.png
| color = 3e92cc
| headquarters = [[The Beehive]]
| league = Cold
| facilities =
| division = Fire
| child_divisions =  
| slogan = Austin, Maryland!
* Project Nine
| hometown = Baltimore
* Umpires Union
| celebrity_mascot = Karl Marx
* Gridkeepers Union
| stadium = The Alamo (Lord Baltimore Theater)
| rivals = [[Ft. Worth Piano Tuners]] ([[Texas Crown]])
| antirivals = [[Alewife Arsonists]]
| arcana = The Hierophant (V)
| arcana_title = Magus of the Eternal Gods
| emoji =
}}
}}
</nowiki>
</nowiki>
</pre>
</pre>


The {{Tl|Infobox team}} template will pass these arguments to the {{Tl|Infobox}} template, inserting the right bits of information in the right places to produce this:
The {{Tl|Infobox office}} template will pass these arguments to the {{Tl|Infobox}} template, inserting the right bits of information in the right places to produce this:


{{Infobox team
{{Infobox office
| name = Baltimore Texas
| name = The Bureaucracy
| abbr = BTX
| headquarters = [[The Beehive]]
| color = 3e92cc
| facilities =
| league = Cold
| child_divisions =  
| division = Fire
* Project Nine
| slogan = Austin, Maryland!
* Umpires Union
| hometown = Baltimore
* Gridkeepers Union
| celebrity_mascot = Karl Marx
| stadium = The Alamo (Lord Baltimore Theater)
| rivals = [[Ft. Worth Piano Tuners]] ([[Texas Crown]])
| antirivals = [[Alewife Arsonists]]
| arcana = The Hierophant (V)
| arcana_title = Magus of the Eternal Gods
| emoji =
}}
}}


[[Category:Teams]]
Related infoboxes:
 
* {{Tl|Infobox division}}
 
Related navboxes:
 
* {{Tl|Navbox governance}}
* {{Tl|Navbox office}} - adds navbox governance, and Office category
* {{Tl|Navbox division}} - adds navbox governance, and Division category
 
 
 
 
[[Category:Office]]
[[Category:Infobox]]
[[Category:Infobox]]
</noinclude>
</noinclude>

Latest revision as of 17:14, 24 October 2021

The {{Infobox office}} template is used to define an infobox for a Golly office.

Here is how you use it:


{{Infobox office
| name = The Bureaucracy
| logo_file = Office_Bureaucracy.png
| headquarters = [[The Beehive]]
| facilities =
| child_divisions = 
* Project Nine
* Umpires Union
* Gridkeepers Union
}}

The {{Infobox office}} template will pass these arguments to the {{Infobox}} template, inserting the right bits of information in the right places to produce this:

The Bureaucracy
The Bureaucracy logo
About
Office Name The Bureaucracy
Headquarters The Beehive
Child Divisions
  • Project Nine
  • Umpires Union
  • Gridkeepers Union
 
Template:Infobox office   •   edit
 

Related infoboxes:

Related navboxes: