Template:Ddeckcn: Difference between revisions

From Elwiki
m (Text replacement - "E-2|" to "Serve as Edel's Butler for a Day!|")
m (Text replacement - "E-1|" to "Private Phoru Academy‎‎|")
Line 5: Line 5:
Usage:
Usage:
{{ddeckcn|(副本编号)|(副本图片)|(副本名称)}}
{{ddeckcn|(副本编号)|(副本图片)|(副本名称)}}
</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}}|E-1|Serve as Edel's Butler for a Day!|E-3|E-4|E-5|E-6|E-7|E-X|E-Y={{ColorSel|Event}}|S-1|S-2|S-3|S-4|S-5|S-6|S-7|S-X|S-Y={{ColorSel|Village|SP}}|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|}}}/zh-hans|{{{3|}}}]]</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={{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}}|E-1|Serve as Edel's Butler for a Day!|E-3|E-4|E-5|E-6|E-7|E-X|E-Y={{ColorSel|Event}}|S-1|S-2|S-3|S-4|S-5|S-6|S-7|S-X|S-Y={{ColorSel|Village|SP}}|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|}}}/zh-hans|<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|E-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|E-Y=729dff|E-1|Serve as Edel's Butler for a Day!|E-3|E-4|E-5|E-6|E-7=90ff00|S-1=00baff|S-2=b602ff|ffffff}}; font-size: 80%;" class="textfloat">'''{{{1|}}}: {{{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}}|Private Phoru Academy‎‎|Serve as Edel's Butler for a Day!|E-3|E-4|E-5|E-6|E-7|E-X|E-Y={{ColorSel|Event}}|S-1|S-2|S-3|S-4|S-5|S-6|S-7|S-X|S-Y={{ColorSel|Village|SP}}|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|}}}/zh-hans|{{{3|}}}]]</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={{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}}|Private Phoru Academy‎‎|Serve as Edel's Butler for a Day!|E-3|E-4|E-5|E-6|E-7|E-X|E-Y={{ColorSel|Event}}|S-1|S-2|S-3|S-4|S-5|S-6|S-7|S-X|S-Y={{ColorSel|Village|SP}}|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|}}}/zh-hans|<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|E-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|E-Y=729dff|Private Phoru Academy‎‎|Serve as Edel's Butler for a Day!|E-3|E-4|E-5|E-6|E-7=90ff00|S-1=00baff|S-2=b602ff|ffffff}}; font-size: 80%;" class="textfloat">'''{{{1|}}}: {{{3|}}}'''</span>]]</div></div></td></tr></table></div></includeonly>

Revision as of 16:00, 22 March 2018

ddeck = Dungeon Deck. Used specifically for Dungeon Layout on Area pages.
Based on YuGiOh wikia's PortalDeck template.

Usage:
{{ddeckcn|(副本编号)|(副本图片)|(副本名称)}}