Template:Ddeck: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 5: Line 5:
Usage:
Usage:
{{ddeck|(Dungeon Number)|(Dungeon Image)|(Dungeon Name)}}
{{ddeck|(Dungeon Number)|(Dungeon Image)|(Dungeon Name)}}
</pre></noinclude><includeonly><div style="display:inline-block;"><table style="background: {{#switch:{{{1|}}}|1-1|1-2|1-3|1-4|1-5|1-6|1-7|1-X|1-Y={{ColorSel|Village|1}}|2-1|2-2|2-3|2-4|2-5|2-6|2-7|2-X|2-Y={{ColorSel|Village|2}}|3-1|3-2|3-3|3-4|3-5|3-6|3-7|3-X|3-Y={{ColorSel|Village|3}}|4-1|4-2|4-3|4-4|4-5|4-6|4-7|4-X|4-Y={{ColorSel|Village|4}}|5-1|5-2|5-3|5-4|5-5|5-6|5-7|5-X|5-Y={{ColorSel|Village|5}}|6-1|6-2|6-3|6-4|6-5|6-6|6-7|6-X|6-Y={{ColorSel|Village|6}}|7-1|7-2|7-3|7-4|7-5|7-6|7-7|7-X|7-Y={{ColorSel|Village|7}}|8-1|8-2|8-3|8-4|8-5|8-6|8-7|8-X|8-Y={{ColorSel|Village|8}}|9-1|9-2|9-3|9-4|9-5|9-6|9-7|9-X|9-Y={{ColorSel|Village|9}}|10-1|10-2|10-3|10-4|10-5|10-6|10-7|10-X|10-Y={{ColorSel|Village|10}}|11-1|11-2|11-3|11-4|11-5|11-6|11-7|11-X|11-Y={{ColorSel|Village|11}}|12-1|12-2|12-3|12-4|12-5|12-6|12-7|12-X|12-Y={{ColorSel|Village|12}}|Velder Academy Library|Velder Academy Sports Festival={{ColorSel|Event}}|Henir's Time and Space|Heroic Mode|Ereda Island/Season 3|Add's Energy Fusion Theory|Dimension of Sinister Intent|Twisted Time and Space - Fahrmann's Peak={{ColorSel|Village|SP}}|Bethtera Army|Gates of Darkness={{ColorSel|Misc}}|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:{{{1|}}}|1-1|1-2|1-3|1-4|1-5|1-6|1-7|1-X|1-Y={{ColorSel|Village|1}}|2-1|2-2|2-3|2-4|2-5|2-6|2-7|2-X|2-Y={{ColorSel|Village|2}}|3-1|3-2|3-3|3-4|3-5|3-6|3-7|3-X|3-Y={{ColorSel|Village|3}}|4-1|4-2|4-3|4-4|4-5|4-6|4-7|4-X|4-Y={{ColorSel|Village|4}}|5-1|5-2|5-3|5-4|5-5|5-6|5-7|5-X|5-Y={{ColorSel|Village|5}}|6-1|6-2|6-3|6-4|6-5|6-6|6-7|6-X|6-Y={{ColorSel|Village|6}}|7-1|7-2|7-3|7-4|7-5|7-6|7-7|7-X|7-Y={{ColorSel|Village|7}}|8-1|8-2|8-3|8-4|8-5|8-6|8-7|8-X|8-Y={{ColorSel|Village|8}}|9-1|9-2|9-3|9-4|9-5|9-6|9-7|9-X|9-Y={{ColorSel|Village|9}}|10-1|10-2|10-3|10-4|10-5|10-6|10-7|10-X|10-Y={{ColorSel|Village|10}}|11-1|11-2|11-3|11-4|11-5|11-6|11-7|11-X|11-Y={{ColorSel|Village|11}}|12-1|12-2|12-3|12-4|12-5|12-6|12-7|12-X|12-Y={{ColorSel|Village|12}}|Velder Academy Library|Velder Academy Sports Festival={{ColorSel|Event}}|Henir's Time and Space|Heroic Mode|Ereda Island/Season 3|Add's Energy Fusion Theory|Dimension of Sinister Intent|Twisted Time and Space - Fahrmann's Peak={{ColorSel|Village|SP}}|Bethtera Army|Gates of Darkness={{ColorSel|Misc}}|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|}}}|1-X|2-X|3-X|4-X|5-X|6-X|7-X|8-X|9-X|10-X|11-X|12-X|=ff8874|1-Y|2-Y|3-Y|4-Y|5-Y|6-Y|7-Y|8-Y|9-Y|10-Y|11-Y|12-Y|=729dff|Velder Academy Library=90ff00}}; font-size: 75%;" class="textfloat">'''{{{1|}}}{{#if:{{{3|}}}|: {{{3|}}}|}}'''</span>]]</div></div></td></tr></table></div></includeonly>
</pre></noinclude><includeonly><div style="display:inline-block;"><table style="background: {{#switch:{{{1|}}}|1-1|1-2|1-3|1-4|1-5|1-6|1-7|1-X|1-Y={{ColorSel|Village|1}}|2-1|2-2|2-3|2-4|2-5|2-6|2-7|2-X|2-Y={{ColorSel|Village|2}}|3-1|3-2|3-3|3-4|3-5|3-6|3-7|3-X|3-Y={{ColorSel|Village|3}}|4-1|4-2|4-3|4-4|4-5|4-6|4-7|4-X|4-Y={{ColorSel|Village|4}}|5-1|5-2|5-3|5-4|5-5|5-6|5-7|5-X|5-Y={{ColorSel|Village|5}}|6-1|6-2|6-3|6-4|6-5|6-6|6-7|6-X|6-Y={{ColorSel|Village|6}}|7-1|7-2|7-3|7-4|7-5|7-6|7-7|7-X|7-Y={{ColorSel|Village|7}}|8-1|8-2|8-3|8-4|8-5|8-6|8-7|8-X|8-Y={{ColorSel|Village|8}}|9-1|9-2|9-3|9-4|9-5|9-6|9-7|9-X|9-Y={{ColorSel|Village|9}}|10-1|10-2|10-3|10-4|10-5|10-6|10-7|10-X|10-Y={{ColorSel|Village|10}}|11-1|11-2|11-3|11-4|11-5|11-6|11-7|11-X|11-Y={{ColorSel|Village|11}}|12-1|12-2|12-3|12-4|12-5|12-6|12-7|12-X|12-Y={{ColorSel|Village|12}}|Velder Academy Library|Velder Academy Sports Festival={{ColorSel|Event}}|Henir's Time and Space|Heroic Mode|Ereda Island/Season 3|Add's Energy Fusion Theory|Dimension of Sinister Intent|Twisted Time and Space - Fahrmann's Peak={{ColorSel|Village|SP}}|Bethtera Army|Gates of Darkness={{ColorSel|Misc}}|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:{{{1|}}}|1-1|1-2|1-3|1-4|1-5|1-6|1-7|1-X|1-Y={{ColorSel|Village|1}}|2-1|2-2|2-3|2-4|2-5|2-6|2-7|2-X|2-Y={{ColorSel|Village|2}}|3-1|3-2|3-3|3-4|3-5|3-6|3-7|3-X|3-Y={{ColorSel|Village|3}}|4-1|4-2|4-3|4-4|4-5|4-6|4-7|4-X|4-Y={{ColorSel|Village|4}}|5-1|5-2|5-3|5-4|5-5|5-6|5-7|5-X|5-Y={{ColorSel|Village|5}}|6-1|6-2|6-3|6-4|6-5|6-6|6-7|6-X|6-Y={{ColorSel|Village|6}}|7-1|7-2|7-3|7-4|7-5|7-6|7-7|7-X|7-Y={{ColorSel|Village|7}}|8-1|8-2|8-3|8-4|8-5|8-6|8-7|8-X|8-Y={{ColorSel|Village|8}}|9-1|9-2|9-3|9-4|9-5|9-6|9-7|9-X|9-Y={{ColorSel|Village|9}}|10-1|10-2|10-3|10-4|10-5|10-6|10-7|10-X|10-Y={{ColorSel|Village|10}}|11-1|11-2|11-3|11-4|11-5|11-6|11-7|11-X|11-Y={{ColorSel|Village|11}}|12-1|12-2|12-3|12-4|12-5|12-6|12-7|12-X|12-Y={{ColorSel|Village|12}}|Velder Academy Library|Velder Academy Sports Festival={{ColorSel|Event}}|Henir's Time and Space|Heroic Mode|Ereda Island/Season 3|Add's Energy Fusion Theory|Dimension of Sinister Intent|Twisted Time and Space - Fahrmann's Peak={{ColorSel|Village|SP}}|Bethtera Army|Gates of Darkness={{ColorSel|Misc}}|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|}}}|1-X|2-X|3-X|4-X|5-X|6-X|7-X|8-X|9-X|10-X|11-X|12-X|=ff8874|1-Y|2-Y|3-Y|4-Y|5-Y|6-Y|7-Y|8-Y|9-Y|10-Y|11-Y|12-Y|=729dff|Velder Academy Library|Velder Academy Sports Festival=90ff00}}; font-size: 75%;" class="textfloat">'''{{{1|}}}{{#if:{{{3|}}}|: {{{3|}}}|}}'''</span>]]</div></div></td></tr></table></div></includeonly>

Revision as of 08:07, 3 May 2018

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)}}