Difference between revisions of "Template:Infobox office"

From Golly.Life Wiki

 
(14 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:#ee2222; color:#272B30;
 
  |headerstyle  = background:#ee2222; color:#272B30;
Line 11: Line 10:
 
  |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;
 
   }}
 
   }}
Line 52: Line 32:
 
{{Infobox office
 
{{Infobox office
 
| name = The Bureaucracy
 
| name = The Bureaucracy
| logo = Office_Bureaucracy.png
+
| logo_file = Office_Bureaucracy.png
 +
| headquarters = [[The Beehive]]
 +
| facilities =
 
| child_divisions =  
 
| child_divisions =  
 
* Project Nine
 
* Project Nine
 
* Umpires Union
 
* Umpires Union
 
* Gridkeepers Union
 
* Gridkeepers Union
| number_of_employees = >100,000
 
| headquarters = [[The Beehive]]
 
| facilities =
 
 
}}
 
}}
 
</nowiki>
 
</nowiki>
Line 68: Line 47:
 
{{Infobox office
 
{{Infobox office
 
| name = The Bureaucracy
 
| name = The Bureaucracy
| logo = Office_Bureaucracy.png
+
| headquarters = [[The Beehive]]
 +
| facilities =
 
| child_divisions =  
 
| child_divisions =  
 
* Project Nine
 
* Project Nine
 
* Umpires Union
 
* Umpires Union
 
* Gridkeepers Union
 
* Gridkeepers Union
| number_of_employees = >100,000
 
| headquarters = [[The Beehive]]
 
| facilities =
 
 
}}
 
}}
 +
 +
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: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: