Difference between revisions of "Template:Infobox crown"

From Golly.Life Wiki

 
(6 intermediate revisions by the same user not shown)
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 12: Line 10:
 
  | header1 = Teams Involved
 
  | header1 = Teams Involved
 
  |  data2 = {{Infobox | subbox = yes
 
  |  data2 = {{Infobox | subbox = yes
     | data1 = {{#if:{{{team1_abbr|}}}|{{Main Page Thumbnail|{{{team1_abbr|GollyLogoTransparent}}}.png|{{TeamAbbrToName|{{{team1_abbr}}}}} logo |{{TeamAbbrToName|{{{team1_abbr}}}}}|size=60}}{{clear}}[[{{TeamAbbrToName|{{{team1_abbr|}}}}}]]| }}  
+
     | data1 = {{#if:{{{team1_abbr|}}}|{{Main Page Thumbnail|{{{team1_abbr|GollyLogoTransparent}}}.png|{{TeamAbbrToName|{{{team1_abbr}}}}} logo |{{TeamAbbrToName|{{{team1_abbr}}}}}|size=100}}{{clear}}[[{{TeamAbbrToName|{{{team1_abbr|}}}}}]]| }}  
     | data2 = {{#if:{{{team2_abbr|}}}|{{Main Page Thumbnail|{{{team2_abbr|GollyLogoTransparent}}}.png|{{TeamAbbrToName|{{{team2_abbr}}}}} logo |{{TeamAbbrToName|{{{team2_abbr}}}}}|size=60}}{{clear}}[[{{TeamAbbrToName|{{{team2_abbr|}}}}}]]| }}  
+
     | data2 = {{#if:{{{team2_abbr|}}}|{{Main Page Thumbnail|{{{team2_abbr|GollyLogoTransparent}}}.png|{{TeamAbbrToName|{{{team2_abbr}}}}} logo |{{TeamAbbrToName|{{{team2_abbr}}}}}|size=100}}{{clear}}[[{{TeamAbbrToName|{{{team2_abbr|}}}}}]]| }}  
 
   }}
 
   }}
  
 
  | header3 = League Info
 
  | header3 = League Info
 
  |  data4 = {{Infobox | subbox = yes
 
  |  data4 = {{Infobox | subbox = yes
     | label1 = League  | data1 = {{#if:{{{league|}}}|[[Leagues|{{{league}}} League]]| }}
+
     | label1 = League(s)   | data1 = {{#if:{{{league|}}}|{{{league}}} League| }}
     | label2 = Division | data2 = {{#if:{{{division|}}}|[[Leagues|{{{division}}} Division]]|N/A}}
+
     | 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|}}}
 
 
   }}
 
   }}
  
Line 57: Line 41:
 
| team2_abbr = TB
 
| team2_abbr = TB
 
| league = Cold
 
| 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 =
 
 
}}
 
}}
 
</nowiki>
 
</nowiki>

Latest 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
}}

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