Difference between revisions of "Template:Infobox crown"
From Golly.Life Wiki
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| name = {{{name}}} | | name = {{{name}}} | ||
| − | | abovestyle = background:# | + | | abovestyle = background:#cfc; color:#272B30; |
| above = {{{name}}} | | above = {{{name}}} | ||
| − | + | |headerstyle = background:#cfc; color:#272B30; | |
| − | + | |labelstyle = background:#272B30; color:#cfc; | |
| − | |headerstyle = background:# | ||
| − | |labelstyle = background:#272B30; color:# | ||
|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= | + | | 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= | + | | 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|}}} | + | | label1 = League | data1 = {{#if:{{{league|}}}|{{{league}}} League| }} |
| − | | label2 = Division | data2 = {{#if:{{{division|}}} | + | | label2 = Division | data2 = {{#if:{{{division|}}}|{{{division}}} Division| }} |
}} | }} | ||
| header5 = Artifact | | header5 = Artifact | ||
| data6 = {{Infobox | subbox = yes | | data6 = {{Infobox | subbox = yes | ||
| − | | label1 = Name | data1 = {{{artifact_name|}}} | + | | label1 = Name | data1 = {{{artifact_name| }}} |
| label2 = Description | data2 = {{{artifact_description|}}} | | label2 = Description | data2 = {{{artifact_description|}}} | ||
| label3 = Location | data3 = {{{artifact_location|}}} | | label3 = Location | data3 = {{{artifact_location|}}} | ||
| Line 31: | Line 29: | ||
| header7 = Divination | | header7 = Divination | ||
| data8 = {{Infobox | subbox = yes | | data8 = {{Infobox | subbox = yes | ||
| − | | label1 = Arcana | data1 = {{{arcana|}}} | + | | label1 = Arcana | data1 = {{{arcana| }}} |
| label2 = Title | data2 = {{{arcana_title|}}} | | label2 = Title | data2 = {{{arcana_title|}}} | ||
| label3 = Mood | data3 = {{{mood|}}} | | label3 = Mood | data3 = {{{mood|}}} | ||
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 | |||||||
| |||||||
| League Info | |||||||
| |||||||
| Artifact | |||||||
| |||||||
| Divination | |||||||
| |||||||
| |||||||