Template:Ddeck: Difference between revisions

From Elwiki
No edit summary
(Undo revision 594845 by Gameboy224 (talk))
Tag: Undo
Line 4: Line 4:


Usage:
Usage:
{{ddeck|(Dungeon)|(Dungeon Image)|(Dungeon Name)|(Dungeon Color)}}
{{ddeck|(Dungeon Number)|(Dungeon Image)|(Dungeon Name)|(Dungeon Color)}}
</pre></noinclude><includeonly><div style="display:inline-block;"><table style="background: {{#switch:{{{4|}}}|1={{ColorSel|Village|1}}|2={{ColorSel|Village|2}}|3={{ColorSel|Village|3}}|4={{ColorSel|Village|4}}|5-1|5-2|5-3|5-4|5-5|5-6|5-7={{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}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Gate of Darkness={{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={{{3|}}}]]</div><div style="position: absolute; bottom: 0px; right: 0px; line-height: 1.1em; z-index: 4; text-align: right; background: {{#switch:{{{4|}}}|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}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Gate of Darkness={{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;">&nbsp;[[{{{1|}}}|<span style="color: #{{#switch:{{{1|}}}|Wally's Underground Laboratory|Dragon Nest: Abyss|Transporting Tunnel: Contaminated Area|Velder's Hallucination|Temple of Trials|The Rage of Behemoth|Grand Cavern: The Source of Demonic Energy|=de6629|Velder Academy Library|Velder Academy Athletic Meet|Velder Academy Concert|Dessert Cafe|ELSTAR Showcase|ELSTAR Signing Event=90ff00}}; font-size: 75%;" class="textfloat">'''{{#ifeq:{{{NoNumber}}}|true|{{{3|}}}|{{{1|}}}: {{{3|}}}}}'''</span>]]</div></div></td></tr></table></div></includeonly>
</pre></noinclude><includeonly><div style="display:inline-block;"><table style="background: {{#switch:{{{4|}}}|1={{ColorSel|Village|1}}|2={{ColorSel|Village|2}}|3={{ColorSel|Village|3}}|4={{ColorSel|Village|4}}|5-1|5-2|5-3|5-4|5-5|5-6|5-7={{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}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Gate of Darkness={{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:{{{4|}}}|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}}|L1={{ColorSel|Village|L1}}|L2={{ColorSel|Village|L2}}|L3={{ColorSel|Village|L3}}|Event={{ColorSel|Event}}|Special={{ColorSel|Village|SP}}|Guild={{ColorSel|Guild}}|Gate of Darkness={{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;">&nbsp;[[{{{1|}}}|<span style="color: #{{#switch:{{{1|}}}|Wally's Underground Laboratory|Dragon Nest: Abyss|Transporting Tunnel: Contaminated Area|Velder's Hallucination|Temple of Trials|The Rage of Behemoth|Grand Cavern: The Source of Demonic Energy|=de6629|Velder Academy Library|Velder Academy Athletic Meet|Velder Academy Concert|Dessert Cafe|ELSTAR Showcase|ELSTAR Signing Event=90ff00}}; font-size: 75%;" class="textfloat">'''{{#ifeq:{{{NoNumber}}}|true|{{{3|}}}|{{{1|}}}: {{{3|}}}}}'''</span>]]</div></div></td></tr></table></div></includeonly>

Revision as of 16:49, 18 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 Name)|(Dungeon Color)}}