Difference between revisions of "Template:Infobox office"

From Golly.Life Wiki

 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  | name        = {{{name}}}
 
  | name        = {{{name}}}
 
  | abovestyle  = background:#ee2222; color:#272B30;
 
  | abovestyle  = background:#ee2222; color:#272B30;
  | above        = Golly Office:<br />{{{name}}}
+
  | above        = {{{name}}}
  
  | image        = [[File:{{{logo_file}}}|200px|alt={{{name}}} logo]]
+
  | image        = [[File:{{{logo_file|GollyLogoTransparent.png}}}|200px|alt={{{name}}} logo]]
  
 
  |headerstyle  = background:#ee2222; color:#272B30;
 
  |headerstyle  = background:#ee2222; color:#272B30;
Line 12: Line 12:
 
  | header1 = About
 
  | header1 = About
 
  |  data2 = {{Infobox | subbox = yes
 
  |  data2 = {{Infobox | subbox = yes
     |  label1 = Headquarters        |  data1 = {{{headquarters}}}
+
     |  label1 = Office 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 = Child Divisions    |  data4 = {{{child_divisions}}}<!--
 
     -->}}
 
     -->}}
Line 20: Line 20:
 
  |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 33: Line 33:
 
| name = The Bureaucracy
 
| name = The Bureaucracy
 
| logo_file = 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 48: Line 47:
 
{{Infobox office
 
{{Infobox office
 
| name = The Bureaucracy
 
| name = The Bureaucracy
| 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 =
 
 
}}
 
}}
 +
 +
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: