Template:Infobox crown: Difference between revisions

From Golly.Life Wiki

(Created page with "<includeonly>{{Infobox | name = {{{name}}} | abovestyle = background:#cff; color:#272B30; | above = {{{name}}} | image = File:{{{logo}}}|200px|alt...")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
  | name        = {{{name}}}
  | name        = {{{name}}}
  | abovestyle  = background:#cff; color:#272B30;
  | abovestyle  = background:#cfc; color:#272B30;
  | above        = {{{name}}}
  | above        = {{{name}}}


| image        = [[File:{{{logo}}}|200px|alt={{{name}}} logo]]
  |headerstyle  = background:#cfc; color:#272B30;
 
  |labelstyle  = background:#272B30; color:#cfc;
  |headerstyle  = background:#cff; color:#9ff;
  |labelstyle  = background:#272B30; color:#5ff;
  |datastyle    = background:#272B30; color:#eee;
  |datastyle    = background:#272B30; color:#eee;


  | 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|{{{cold_league_winner_abbr|}}}}}]]|&nbsp;}}  
     | data1 = {{#if:{{{team1_abbr|}}}|{{Main Page Thumbnail|{{{team1_abbr|GollyLogoTransparent}}}.png|{{TeamAbbrToName|{{{team1_abbr}}}}} logo |{{TeamAbbrToName|{{{team1_abbr}}}}}|size=100}}{{clear}}[[{{TeamAbbrToName|{{{team1_abbr|}}}}}]]|&nbsp;}}  
     | data2 = {{#if:{{{team2_abbr|}}}|{{Main Page Thumbnail|{{{team2_abbr|GollyLogoTransparent}}}.png|{{TeamAbbrToName|{{{team2_abbr}}}}} logo |{{TeamAbbrToName|{{{team2_abbr}}}}}|size=60}}{{clear}}[[{{TeamAbbrToName|{{{cold_league_winner_abbr|}}}}}]]|&nbsp;}}
     | data2 = {{#if:{{{team2_abbr|}}}|{{Main Page Thumbnail|{{{team2_abbr|GollyLogoTransparent}}}.png|{{TeamAbbrToName|{{{team2_abbr}}}}} logo |{{TeamAbbrToName|{{{team2_abbr}}}}}|size=100}}{{clear}}[[{{TeamAbbrToName|{{{team2_abbr|}}}}}]]|&nbsp;}}  
  }}
 
|  data3 = {{Infobox | subbox = yes
    | label1 = Leagueon | data1 = {{#if:{{{league|}}}|[[Leagues|{{{league}}} League]]|&nbsp;}}
    | label1 = Division | data2 = {{#if:{{{division|}}|[[Leagues|{{{division}}} Division]]|N/A}}
  }}
 
| header4 = Artifacts
|  data5 = {{Infobox | subbox = yes
    | label1 = Name          | data1 = {{{artifact_name|}}}
    | label2 = Description  | data2 = {{{artifact_description|}}}
    | label3 = Location      | data3 = {{{artifact_location|}}}
   }}
   }}


  | header6 = Divination
  | header3 = League Info
  |  data7 = {{Infobox | subbox = yes
  |  data4 = {{Infobox | subbox = yes
     | label1 = Arcana      | {{{arcana|}}}
     | label1 = League(s)  | data1 = {{#if:{{{league|}}}|{{{league}}} League|&nbsp;}}
     | label2 = Title        | {{{arcana_title|}}}
     | label2 = Division(s) | data2 = {{#if:{{{division|}}}|{{{division}}} Division|&nbsp;}}
    | label3 = Mood        | {{{mood|}}}
   }}
   }}


Line 56: 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>
Line 81: Line 58:
* Elko Astronauts: Elko City Hall
* Elko Astronauts: Elko City Hall
* Tucson Butchers: The Boneyard
* Tucson Butchers: The Boneyard
| arcana =  
| arcana = The Wheel of Fortune (X)
| arcana_title =  
| arcana_title = Lord of the Forces of Life
| mood =  
| mood = melodramatic
}}
}}


[[Category:Infobox]]
[[Category:Infobox]]
</noinclude>
</noinclude>

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