Template:Infobox office: Difference between revisions
From Golly.Life Wiki
(Created page with "<includeonly>{{Infobox | name = {{{name}}} | abovestyle = background:#{{{color}}}; color:#ee2222; | above = {{{name}}} | image = File:{{{abbr}}}.p...") |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| name = {{{name}}} | | name = {{{name}}} | ||
| abovestyle = background:# | | abovestyle = background:#ee2222; color:#272B30; | ||
| above = {{{name}}} | | above = {{{name}}} | ||
| image = [[File:{{{ | | image = [[File:{{{logo_file|GollyLogoTransparent.png}}}|200px|alt={{{name}}} logo]] | ||
|headerstyle = background:# | |headerstyle = background:#ee2222; color:#272B30; | ||
|labelstyle = background:#272B30; color:# | |labelstyle = background:#272B30; color:#ee2222; | ||
|datastyle = background:#272B30; color:#eee; | |datastyle = background:#272B30; color:#eee; | ||
| header1 = | | header1 = About | ||
| data2 = {{Infobox | subbox = yes | | data2 = {{Infobox | subbox = yes | ||
| label1 = | | label1 = Office Name | data1 = {{{name}}} | ||
| label2 = | | label2 = Headquarters | data2 = {{{headquarters}}} | ||
| label3 = Facilities | data3 = {{{facilities}}} | |||
| label4 = Child Divisions | data4 = {{{child_divisions}}}<!-- | |||
-->}} | |||
| label3 = | |||
| label4 = | |||
|belowstyle = background:#122; color: #eee; | |belowstyle = background:#122; color: #eee; | ||
|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 = | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
The {{Tl|Infobox | The {{Tl|Infobox office}} template is used to define an infobox for a Golly office. | ||
Here is how you use it: | Here is how you use it: | ||
| Line 50: | Line 30: | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
{{Infobox | {{Infobox office | ||
| name | | name = The Bureaucracy | ||
| logo_file = Office_Bureaucracy.png | |||
| headquarters = [[The Beehive]] | |||
| facilities = | |||
| child_divisions = | |||
* Project Nine | |||
* Umpires Union | |||
* Gridkeepers Union | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
The {{Tl|Infobox | The {{Tl|Infobox office}} template will pass these arguments to the {{Tl|Infobox}} template, inserting the right bits of information in the right places to produce this: | ||
{{Infobox | {{Infobox office | ||
| name | | name = The Bureaucracy | ||
| headquarters = [[The Beehive]] | |||
| facilities = | |||
| child_divisions = | |||
* Project Nine | |||
* Umpires Union | |||
* Gridkeepers Union | |||
| | |||
| | |||
| | |||
}} | }} | ||
[[Category: | 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: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