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 = | + | | 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 = | + | | label1 = Office Name | data1 = {{{name}}} |
| − | | label2 = | + | | label2 = Headquarters | data2 = {{{headquarters}}} |
| − | | label3 = | + | | 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 = | | data1 = | ||
| − | | data2 = [[Template:Infobox | + | | data2 = [[Template:Infobox office]] {{Dt}} [{{fullurl:Template:Infobox office|action=edit}} edit] |
| data3 = | | data3 = | ||
}} | }} | ||
| 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 | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
| Line 48: | Line 47: | ||
{{Infobox office | {{Infobox office | ||
| name = The Bureaucracy | | name = The Bureaucracy | ||
| − | | | + | | headquarters = [[The Beehive]] |
| + | | facilities = | ||
| child_divisions = | | child_divisions = | ||
* Project Nine | * Project Nine | ||
* Umpires Union | * Umpires Union | ||
* Gridkeepers Union | * Gridkeepers Union | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| + | |||
| + | 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 | |||||||
|---|---|---|---|---|---|---|---|
|
| |||||||
| About | |||||||
| |||||||
| |||||||
Related infoboxes:
- {{Infobox division}}
Related navboxes:
- {{Navbox governance}}
- {{Navbox office}} - adds navbox governance, and Office category
- {{Navbox division}} - adds navbox governance, and Division category