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]] | ||
| − | |||
|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 = | + | | header1 = About |
| data2 = {{Infobox | subbox = yes | | data2 = {{Infobox | subbox = yes | ||
| − | | label1 = | + | | label1 = Headquarters | data1 = {{{headquarters}}} |
| − | | label2 = | + | | label2 = Facilities | data2 = {{{facilities}}} |
| − | | label3 = | + | | label3 = Number of Employees | data3 = {{{number_of_employees}}} |
| − | | label4 = | + | | label4 = Child Divisions | data4 = {{{child_divisions}}}<!-- |
| − | + | -->}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|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 | |||||||
| |||||||
| |||||||