Template:Infobox office: Difference between revisions

From Golly.Life Wiki

No edit summary
No edit summary
Line 10: Line 10:
  |datastyle    = background:#272B30; color:#eee;
  |datastyle    = background:#272B30; color:#eee;


  | header1 = About This Golly Office
  | header1 = Golly Office
  |  data2 = {{Infobox | subbox = yes
  |  data2 = {{Infobox | subbox = yes
     |  label1 = Headquarters        |  data1 = {{{headquarters}}}
     |  label1 = Name                |  data1 = {{{name}}}
     |  label2 = Facilities          |  data2 = {{{facilities}}}
    |  label2 = Headquarters        |  data2 = {{{headquarters}}}
     |  label3 = Number of Employees |  data3 = {{{number_of_employees}}}
     |  label3 = Facilities          |  data3 = {{{facilities}}}
     |  label4 = Child Divisions    |  data4 = {{{child_divisions}}}<!--
     |  label4 = Number of Employees |  data4 = {{{number_of_employees}}}
     |  label5 = Child Divisions    |  data5 = {{{child_divisions}}}<!--
     -->}}
     -->}}
  |belowstyle = background:#122; color: #eee;
  |belowstyle = background:#122; color: #eee;

Revision as of 14:50, 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
| 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
File:Office Bureaucracy.png
Golly Office
Name The Bureaucracy
Headquarters The Beehive
Number of Employees >100,000
Child Divisions
  • Project Nine
  • Umpires Union
  • Gridkeepers Union
 
Template:Infobox office   •   edit