Difference between revisions of "Template:Clan infobox"

From MyFallen Gaming Community
Jump to navigation Jump to search
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|bodystyle = {{ #switch: {{PAGENAME}}|MeadowClan = background:#E5FFE5;|DriftClan = background:#FFF9E5;|EclipseClan = background:#ECE5FF|TorrentClan = background:#E5E5E5|SleetClan = background:#E5FFFF;|background:#EFEFEF}}
+
|bodystyle = {{ #switch: {{PAGENAME}}|MeadowClan = background:#F2FFE5;|DriftClan = background:#FFF9E5;|EclipseClan = background:#E5EBFF|TorrentClan = background:#EDEDED|SleetClan = background:#E5FFFF;|background:#F5F5F5}}
 +
|labelstyle = text-align:right
 +
|abovestyle = {{ #switch: {{PAGENAME}}|MeadowClan = background:#9AC96A;|DriftClan = background:#EFD267;|EclipseClan = background:#6C84CC|TorrentClan = background:#7F7F7F|SleetClan = background:#38E2E2;|background:#8E51CC}}
 
|above = {{PAGENAME}}
 
|above = {{PAGENAME}}
|abovestyle = {{ #switch: {{PAGENAME}}|MeadowClan = background:#87FF87;|DriftClan = background:#FFE787;|EclipseClan = background:#A787FF|TorrentClan = background:#999999|SleetClan = background:#87FFFF;|background:#C987FF}}
+
|headerstyle = {{ #switch: {{PAGENAME}}|MeadowClan = background:#9AC96A;|DriftClan = background:#EFD267;|EclipseClan = background:#6C84CC|TorrentClan = background:#7F7F7F|SleetClan = background:#38E2E2;|background:#8E51CC}}
|above = {{PAGENAME}}
+
|image = {{ #switch: {{PAGENAME}}|MeadowClan = [[File:mc_main.jpg|250px]];|DriftClan = [[File:dc_main.jpg|250px]];|EclipseClan = [[File:ec_main.jpg|250px]]|TorrentClan = [[File:tc_main.jpg|250px]]|SleetClan = [[File:sc_main.jpg|250px]];|}}
|headerstyle = {{ #switch: {{PAGENAME}}|MeadowClan = background:#87FF87;|DriftClan = background:#FFE787;|EclipseClan = background:#A787FF|TorrentClan = background:#999999|SleetClan = background:#87FFFF;|background:#C987FF}}
 
|image = {{ #switch: {{PAGENAME}}|MeadowClan = [[File:mc.jpg]];|DriftClan = [[File:dc.jpg]];|EclipseClan = [[File:ec.jpg]]|TorrentClan = [[File:tc.jpg]]|SleetClan = [[File:sc.jpg]];|[[File:mc.jpg]]}}
 
  
 
|header1 = Clan Information
 
|header1 = Clan Information
 
|label2 = Founder:
 
|label2 = Founder:
|data2 = {{ #switch: {{PAGENAME}}|MeadowClan = [[Fawnstar]]|DriftClan = [[Thunderstar]]|EclipseClan = [[Brightstar]]|TorrentClan = [[Rowanstar]], [[Kestrelcall]]|SleetClan = [[Petrelstar]]|{{{founder|}}}}}
+
|data2 = {{ #switch: {{PAGENAME}}|MeadowClan = [[Fawnstar]]|DriftClan = [[Thunderstar]]|EclipseClan = [[Brightstar]]|TorrentClan = [[Rowanstar]], [[Kestrelcall]]|SleetClan = [[Petrelfrost|Petrelstar]], [[Glitteringfrost]]|{{{founder|}}}}}
 
|label4 = Leader:
 
|label4 = Leader:
 
|data4 = [[{{{leader|}}}]]
 
|data4 = [[{{{leader|}}}]]
 +
|label5 = Deputy:
 +
|data5 = {{#if:{{{deputy|}}}|[[{{{deputy}}}]]|}}
 
|label6 = Medicine Cat:
 
|label6 = Medicine Cat:
 
|data6 = [[{{{medicinecat|}}}]]
 
|data6 = [[{{{medicinecat|}}}]]
 +
|label7 = Medicine Cat Apprentice:
 +
|data7 = {{#if:{{{medapp|}}}|[[{{{medapp}}}]]|}}
 
|label8 = Belief:
 
|label8 = Belief:
 
|data8 = {{ #switch: {{PAGENAME}}|MeadowClan = [[LightClan]]|DriftClan = [[LightClan]]|EclipseClan = [[LightClan]]|TorrentClan = [[Shadow Forest]]|SleetClan = [[LightClan]]|[[{{{religion|}}}]]}}
 
|data8 = {{ #switch: {{PAGENAME}}|MeadowClan = [[LightClan]]|DriftClan = [[LightClan]]|EclipseClan = [[LightClan]]|TorrentClan = [[Shadow Forest]]|SleetClan = [[LightClan]]|[[{{{religion|}}}]]}}
Line 23: Line 27:
 
|header13 = Skirmish Spots
 
|header13 = Skirmish Spots
 
|label14 = Controlled:
 
|label14 = Controlled:
|data14 = [[{{{control1|}}}]]<br>[[{{{control2|}}}]]<br>[[{{{control3|}}}]]
+
|data14 = {{#if:{{{control1|}}}|[[{{{control1}}}]]|}}{{#if:{{{control2|}}}|<br>[[{{{control2|}}}]]|}}{{#if:{{{control3|}}}|<br>[[{{{control3}}}]]|}}
 
|label16 = Shared:
 
|label16 = Shared:
|data16 = [[{{{shared1|}}}]]<br>[[{{{shared2|}}}]]<br>[[{{{shared3|}}}]]
+
|data16 = {{#if:{{{shared1|}}}|[[{{{shared1}}}]]|}}{{#if:{{{shared2|}}}|<br>[[{{{shared2|}}}]]|}}{{#if:{{{shared3|}}}|<br>[[{{{shared3}}}]]|}}
 
|label18 = Contested:
 
|label18 = Contested:
|data18 = [[{{{contest1|}}}]]<br>[[{{{contest2|}}}]]<br>[[{{{contest3|}}}]]
+
|data18 = {{#if:{{{contest1|}}}|[[{{{contest1}}}]]|}}{{#if:{{{contest2|}}}|<br>[[{{{contest2|}}}]]|}}{{#if:{{{contest3|}}}|<br>[[{{{contest3}}}]]|}}
 
|label20 = Bordered:
 
|label20 = Bordered:
|data20 = [[{{{uncontest1|}}}]]<br>[[{{{uncontest2|}}}]]<br>[[{{{uncontest3|}}}]]
+
|data20 = {{#if:{{{uncontest1|}}}|[[{{{uncontest1}}}]]|}}{{#if:{{{uncontest2|}}}|<br>[[{{{uncontest2|}}}]]|}}{{#if:{{{uncontest3|}}}|<br>[[{{{uncontest3}}}]]|}}
 +
 
  
 
|header21 = Herbs & Animals
 
|header21 = Herbs & Animals
 
|label22 = Herbs:
 
|label22 = Herbs:
|data22 = {{ #switch: {{PAGENAME}}|MeadowClan = {{Mcherb}}|DriftClan ={{Dcherb}}|EclipseClan = {{Echerb}}|TorrentClan = {{Tcherb}}|SleetClan = {{Scherb}}|{{{herbs|}}}}} {{#ifeq:control1| |equal|notequal}}
+
|data22 = {{ #switch: {{PAGENAME}}
 +
|MeadowClan = {{Mcherb}}
 +
|DriftClan ={{Dcherb}}
 +
|EclipseClan = {{Echerb}}
 +
|TorrentClan = {{Tcherb}}
 +
|SleetClan = {{Scherb}}
 +
|{{{herbs|}}}}}{{#if:{{{control1|}}}|, {{{{{control1}}}{{PAGENAME}}herb}}
 +
|}}{{#if:{{{control2|}}}|, {{{{{control2}}}{{PAGENAME}}herb}}
 +
|}}{{#if:{{{control3|}}}|, {{{{{control3}}}{{PAGENAME}}herb}}
 +
|}}{{#if:{{{shared1|}}}|, {{{{{shared1}}}{{PAGENAME}}herb}}
 +
|}}{{#if:{{{shared2|}}}|, {{{{{shared2}}}{{PAGENAME}}herb}}
 +
|}}{{#if:{{{shared3|}}}|, {{{{{shared3}}}{{PAGENAME}}herb}}
 +
|}}
 
|label24 = Predator:
 
|label24 = Predator:
|data24 = {{ #switch: {{PAGENAME}}|MeadowClan = {{Mcpredator}}|DriftClan = {{Dcpredator}}|EclipseClan = {{Ecpredator}}|TorrentClan = {{Tcpredator}}|SleetClan = {{Scpredator}}|{{{predator|}}}}}
+
|data24 = {{ #switch: {{PAGENAME}}
 +
|MeadowClan = {{Mcpredator}}
 +
|DriftClan = {{Dcpredator}}
 +
|EclipseClan = {{Ecpredator}}
 +
|TorrentClan = {{Tcpredator}}
 +
|SleetClan = {{Scpredator}}
 +
|{{{predator|}}}}}{{#ifeq:{{{control1|}}}|Basking Rocks|, {{{{{control1}}}{{PAGENAME}}predator}}
 +
|}}{{#ifeq:{{{control2|}}}|Basking Rocks|, {{{{{control2}}}{{PAGENAME}}predator}}
 +
|}}{{#ifeq:{{{control3|}}}|Basking Rocks|, {{{{{control3}}}{{PAGENAME}}predator}}
 +
|}}{{#ifeq:{{{shared1|}}}|Basking Rocks|, {{{{{shared1}}}{{PAGENAME}}predator}}
 +
|}}{{#ifeq:{{{shared2|}}}|Basking Rocks|, {{{{{shared2}}}{{PAGENAME}}predator}}
 +
|}}{{#ifeq:{{{shared3|}}}|Basking Rocks|, {{{{{shared3}}}{{PAGENAME}}predator}}
 +
|}}
 
|label26 = Prey:
 
|label26 = Prey:
|data26 = {{ #switch: {{PAGENAME}}|MeadowClan = {{Mcprey}}|DriftClan = {{Dcprey}}|EclipseClan = {{Ecprey}}|TorrentClan = {{Tcprey}}|SleetClan = {{Scprey}}|{{{prey|}}}}}
+
|data26 = {{ #switch: {{PAGENAME}}|MeadowClan = {{Mcprey}}
 +
|DriftClan = {{Dcprey}}
 +
|EclipseClan = {{Ecprey}}
 +
|TorrentClan = {{Tcprey}}
 +
|SleetClan = {{Scprey}}
 +
|{{{prey|}}}}}{{#if:{{{control1|}}}|{{#ifeq:{{{control1}}}|Crystal Cavern||, {{{{{control1}}}{{PAGENAME}}prey}}}}
 +
|}}{{#if:{{{control2|}}}|{{#ifeq:{{{control2}}}|Crystal Cavern||, {{{{{control2}}}{{PAGENAME}}prey}}}}
 +
|}}{{#if:{{{control3|}}}|{{#ifeq:{{{control3}}}|Crystal Cavern||, {{{{{control3}}}{{PAGENAME}}prey}}}}
 +
|}}{{#if:{{{shared1|}}}|{{#ifeq:{{{shared1}}}|Crystal Cavern||, {{{{{shared1}}}{{PAGENAME}}prey}}}}
 +
|}}{{#if:{{{shared2|}}}|{{#ifeq:{{{shared2}}}|Crystal Cavern||, {{{{{shared2}}}{{PAGENAME}}prey}}}}
 +
|}}{{#if:{{{shared3|}}}|{{#ifeq:{{{shared3}}}|Crystal Cavern||, {{{{{shared3}}}{{PAGENAME}}prey}}}}
 +
|}}
 
}}
 
}}

Latest revision as of 12:50, 29 January 2020

Clan infobox
Clan Information
Leader:[[]]
Medicine Cat:[[]]
Belief:[[]]
Favoured Terrain:,
Skirmish Spots
Herbs & Animals