Difference between revisions of "Template:Infobox office"

From Golly.Life Wiki

Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
 
  | name        = {{{name}}}
 
  | name        = {{{name}}}
  | abovestyle  = background:#{{{color}}}; color:#ee2222;
+
  | abovestyle  = background:#ee2222; color:#ee2222;
 
  | above        = {{{name}}}
 
  | above        = {{{name}}}
  
  | image        = [[File:{{{abbr}}}.png|200px|alt={{{name}}} logo]]
+
  | image        = [[File:{{{logo_file}}}|200px|alt={{{name}}} logo]]
 
  | caption      = "{{{slogan}}}"
 
  | caption      = "{{{slogan}}}"
  
Line 52: Line 52:
 
{{Infobox office
 
{{Infobox office
 
| name = The Bureaucracy
 
| name = The Bureaucracy
| logo = Office_Bureaucracy.png
+
| logo_file = Office_Bureaucracy.png
 
| child_divisions =  
 
| child_divisions =  
 
* Project Nine
 
* Project Nine
Line 68: Line 68:
 
{{Infobox office
 
{{Infobox office
 
| name = The Bureaucracy
 
| name = The Bureaucracy
| logo = Office_Bureaucracy.png
+
| logo_file = Office_Bureaucracy.png
 
| child_divisions =  
 
| child_divisions =  
 
* Project Nine
 
* Project Nine

Revision as of 21:17, 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
"{{{slogan}}}"
Golly
Division {{{league}}} {{{division}}} Division
League {{{league}}} League
Color #{{{color}}}
Abbreviation {{{abbr}}}
Details
Hometown {{{hometown}}}
Stadium None
Rivalries
Rivals None
Anti-Rivals None
Divination
Emoji {{{emoji}}}
 
Template:Infobox team   •   edit