Difference between revisions of "Template:Infobox crown"

From Golly.Life Wiki

 
Line 3: Line 3:
 
  | abovestyle  = background:#cfc; color:#272B30;
 
  | abovestyle  = background:#cfc; color:#272B30;
 
  | above        = {{{name}}}
 
  | above        = {{{name}}}
 
<!--
 
| image        = [[File:{{{logo}}}|200px|alt={{{name}}} logo]]
 
-->
 
  
 
  |headerstyle  = background:#cfc; color:#272B30;
 
  |headerstyle  = background:#cfc; color:#272B30;
Line 21: Line 17:
 
  |  data4 = {{Infobox | subbox = yes
 
  |  data4 = {{Infobox | subbox = yes
 
     | label1 = League  | data1 = {{#if:{{{league|}}}|{{{league}}} League|&nbsp;}}
 
     | label1 = League  | data1 = {{#if:{{{league|}}}|{{{league}}} League|&nbsp;}}
     | label2 = Division | data2 = {{#if:{{{division|}}}|{{{division}}} Division|N/A}}
+
     | label2 = Division | data2 = {{#if:{{{division|}}}|{{{division}}} Division|&nbsp;}}
 
   }}
 
   }}
  

Latest revision as of 15:25, 30 July 2025

The {{Infobox crown}} template is used to define an infobox for a Golly crown.

Here is how you use it:


{{Infobox crown
| name = Cactus Crown
| logo = CactusCrown.png
| team1_abbr = EA
| team2_abbr = TB
| league = Cold
| artifact_name = The Biodome
| artifact_description = A miniature cactus inside of a tabletop, isolated, self-sustaining biosphere
| artifact_location = 
* Elko Astronauts: Elko City Hall
* Tucson Butchers: The Boneyard
| arcana = 
| arcana_title = 
| mood = 
}}

The {{Infobox team}} template will pass these arguments to the {{Infobox}} template, inserting the right bits of information in the right places to produce this:

Cactus Crown
Teams Involved

Elko Astronauts logo

Elko Astronauts

Tucson Butchers logo

Tucson Butchers
League Info
League Cold League
Division  
Artifact
Name The Biodome
Description A miniature cactus inside of a tabletop, isolated, self-sustaining biosphere
Location
  • Elko Astronauts: Elko City Hall
  • Tucson Butchers: The Boneyard
Divination
Arcana The Wheel of Fortune (X)
Title Lord of the Forces of Life
Mood melodramatic
 
Template:Infobox crown   •   edit