Difference between revisions of "Template:Infobox crown"

From Golly.Life Wiki

Line 16: Line 16:
 
  | header3 = League Info
 
  | header3 = League Info
 
  |  data4 = {{Infobox | subbox = yes
 
  |  data4 = {{Infobox | subbox = yes
     | label1 = League  | data1 = {{#if:{{{league|}}}|{{{league}}} League| }}
+
     | label1 = League(s)   | data1 = {{#if:{{{league|}}}|{{{league}}} League| }}
     | label2 = Division | data2 = {{#if:{{{division|}}}|{{{division}}} Division| }}
+
     | label2 = Division(s) | data2 = {{#if:{{{division|}}}|{{{division}}} Division| }}
  }}
 
 
 
| header5 = Artifact
 
|  data6 = {{Infobox | subbox = yes
 
    | label1 = Name          | data1 = {{{artifact_name| }}}
 
    | label2 = Description  | data2 = {{{artifact_description|}}}
 
    | label3 = Location      | data3 = {{{artifact_location|}}}
 
  }}
 
 
 
| header7 = Divination
 
|  data8 = {{Infobox | subbox = yes
 
    | label1 = Arcana      | data1 = {{{arcana| }}}
 
    | label2 = Title        | data2 = {{{arcana_title|}}}
 
    | label3 = Mood        | data3 = {{{mood|}}}
 
 
   }}
 
   }}
  

Revision as of 12:22, 16 November 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(s) Cold League
Division(s)  
 
Template:Infobox crown   •   edit