Difference between revisions of "Template:Infobox office"

From Golly.Life Wiki

Line 5: Line 5:
  
 
  | image        = [[File:{{{logo_file}}}|200px|alt={{{name}}} logo]]
 
  | image        = [[File:{{{logo_file}}}|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 = Headquarters        |  data1 = {{{headquarters}}}
     |  label2 = League      |  data2 = [[Leagues|{{{league}}} League]]
+
     |  label2 = Facilities          |  data2 = {{{facilities}}}
     |  label3 = Color        |  data3 = {{HexColor|{{{color}}}}}
+
     |  label3 = Number of Employees |  data3 = {{{number_of_employees}}}
     |  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

Revision as of 21:25, 3 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
| child_divisions = 
* Project Nine
* Umpires Union
* Gridkeepers Union
| number_of_employees = >100,000
| headquarters = [[The Beehive]]
| facilities =
}}

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
200px
About
Headquarters The Beehive
Number of Employees >100,000
Child Divisions
  • Project Nine
  • Umpires Union
  • Gridkeepers Union
 
Template:Infobox team   •   edit