Template:Ddeck: Difference between revisions
From Elwiki
Gameboy224 (talk | contribs) (Undo revision 607201 by Gameboy224 (talk)) Tag: Undo |
Gameboy224 (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
Usage: | Usage: | ||
{{ddeck|(Dungeon Number)|(Dungeon Image)|(Dungeon Color)}} | {{ddeck|(Dungeon Number)|(Dungeon Image)|(Dungeon Color)}} | ||
</pre></noinclude><includeonly><div style="display:inline-block;"><table style="background: {{#switch:{{{3|}}}|1={{ColorSel|Village|1}}|2={{ColorSel|Village|2}}|3={{ColorSel|Village|3}}|4={{ColorSel|Village|4}}|5={{ColorSel|Village|5}}|6={{ColorSel|Village|6}}|7={{ColorSel|Village|7}}|8={{ColorSel|Village|8}}|9={{ColorSel|Village|9}}|10={{ColorSel|Village|10}}|11={{ColorSel|Village|11}}|12={{ColorSel|Village|12}}|13={{ColorSel|Village|13}}|14={{ColorSel|Village|14}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Misc={{ColorSel|Misc}}|Bethtera={{ColorSel|Village|{{{Color|}}}}}|000000}}; border: 1px solid #000; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;"><tr><td><div style="position: relative;"><div style="z-index: 2; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; overflow: hidden;">[[File:{{{2|}}}.{{#ifexist:File:{{{2|}}}.png|png|PNG}}|{{{1|}}}|202px|link={{{1|}}}]]</div><div style="position: absolute; bottom: 0px; right: 0px; line-height: 1.1em; z-index: 4; text-align: right; background: {{#switch:{{{3|}}}|1={{ColorSel|Village|1}}|2={{ColorSel|Village|2}}|3={{ColorSel|Village|3}}|4={{ColorSel|Village|4}}|5={{ColorSel|Village|5}}|6={{ColorSel|Village|6}}|7={{ColorSel|Village|7}}|8={{ColorSel|Village|8}}|9={{ColorSel|Village|9}}|10={{ColorSel|Village|10}}|11={{ColorSel|Village|11}}|12={{ColorSel|Village|12}}|13={{ColorSel|Village|13}}|14={{ColorSel|Village|14}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Misc={{ColorSel|Misc}}|Bethtera Army={{ColorSel|Village|{{{Color|}}}}}|000000}}; -moz-border-radius-topleft: 8px; -webkit-border-top-left-radius: 8px; -khtml-border-top-left-radius: 8px; border-top-left-radius: 8px;"> [[{{{1|}}}|<span style="color: #{{#switch:{{{1|}}}; font-size: 75%;" class="textfloat">'''{{#ifeq:{{{Rename}}}|true|{{{4|}}}|{{{1|}}}}}'''</span>]]</div></div></td></tr></table></div></includeonly> | </pre></noinclude><includeonly><div style="display:inline-block;"><table style="background: {{#switch:{{{3|}}}|1={{ColorSel|Village|1}}|2={{ColorSel|Village|2}}|3={{ColorSel|Village|3}}|4={{ColorSel|Village|4}}|5={{ColorSel|Village|5}}|6={{ColorSel|Village|6}}|7={{ColorSel|Village|7}}|8={{ColorSel|Village|8}}|9={{ColorSel|Village|9}}|10={{ColorSel|Village|10}}|11={{ColorSel|Village|11}}|12={{ColorSel|Village|12}}|13={{ColorSel|Village|13}}|14={{ColorSel|Village|14}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Misc={{ColorSel|Misc}}|Bethtera={{ColorSel|Village|{{{Color|}}}}}|000000}}; border: 1px solid #000; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;"><tr><td><div style="position: relative;"><div style="z-index: 2; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; overflow: hidden;">[[File:{{{2|}}}.{{#ifexist:File:{{{2|}}}.png|png|PNG}}|{{{1|}}}|202px|link={{{1|}}}]]</div><div style="position: absolute; bottom: 0px; right: 0px; line-height: 1.1em; z-index: 4; text-align: right; background: {{#switch:{{{3|}}}|1={{ColorSel|Village|1}}|2={{ColorSel|Village|2}}|3={{ColorSel|Village|3}}|4={{ColorSel|Village|4}}|5={{ColorSel|Village|5}}|6={{ColorSel|Village|6}}|7={{ColorSel|Village|7}}|8={{ColorSel|Village|8}}|9={{ColorSel|Village|9}}|10={{ColorSel|Village|10}}|11={{ColorSel|Village|11}}|12={{ColorSel|Village|12}}|13={{ColorSel|Village|13}}|14={{ColorSel|Village|14}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Misc={{ColorSel|Misc}}|Bethtera Army={{ColorSel|Village|{{{Color|}}}}}|000000}}; -moz-border-radius-topleft: 8px; -webkit-border-top-left-radius: 8px; -khtml-border-top-left-radius: 8px; border-top-left-radius: 8px;"> [[{{{1|}}}|<span style="color: #{{#switch:{{{1|}}}}}; font-size: 75%;" class="textfloat">'''{{#ifeq:{{{Rename}}}|true|{{{4|}}}|{{{1|}}}}}'''</span>]]</div></div></td></tr></table></div></includeonly> |
Revision as of 23:23, 23 December 2019
ddeck = Dungeon Deck. Used specifically for Dungeon Layout on Area pages. Based on YuGiOh wikia's PortalDeck template. Usage: {{ddeck|(Dungeon Number)|(Dungeon Image)|(Dungeon Color)}}