Template:Ddeckcn: Difference between revisions

From Elwiki
No edit summary
m (Text replacement - "{{ColorSel|Village|SP}}" to "{{ColorSel|Special}}")
 
(37 intermediate revisions by 3 users not shown)
Line 4: Line 4:


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}}|E-1|E-2|E-3|E-4|E-5|E-6|E-7|E-X|E-Y={{ColorSel|Event}}|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}}|E-1|E-2|E-3|E-4|E-5|E-6|E-7|E-X|E-Y={{ColorSel|Event}}|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|E-X=ff8874|1-Y|2-Y|3-Y|4-Y|5-Y|6-Y|7-Y|8-Y|9-Y|10-Y|E-Y=729dff|E-1|E-2|E-3|E-4|E-5|E-6|E-7=90ff00|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:{{{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|Special}}|Guild={{ColorSel|Guild}}|Misc={{ColorSel|Misc}}|Gaia={{ColorSel|Master|Gaia4}}|Misc={{ColorSel|Misc}}|Rosso={{ColorSel|Master|Rosso4}}|Misc={{ColorSel|Misc}}|Ventus={{ColorSel|Master|Ventus4}}|Misc={{ColorSel|Misc}}|Denif={{ColorSel|Master|Denif4}}|Misc={{ColorSel|Misc}}|Adrian={{ColorSel|Master|Adrian4}}|Misc={{ColorSel|Misc}}|Solace={{ColorSel|Master|Solace4}}|Misc={{ColorSel|Misc}}|Hernia={{ColorSel|Master|Hernia4}}|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|Special}}|Guild={{ColorSel|Guild}}|Misc={{ColorSel|Misc}}|Gaia={{ColorSel|Master|Gaia4}}|Misc={{ColorSel|Misc}}|Rosso={{ColorSel|Master|Rosso4}}|Misc={{ColorSel|Misc}}|Ventus={{ColorSel|Master|Ventus4}}|Misc={{ColorSel|Misc}}|Denif={{ColorSel|Master|Denif4}}|Misc={{ColorSel|Misc}}|Adrian={{ColorSel|Master|Adrian4}}|Misc={{ColorSel|Misc}}|Solace={{ColorSel|Master|Solace4}}|Misc={{ColorSel|Misc}}|Hernia={{ColorSel|Master|Hernia4}}|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|}}}}};font-size: 80%;" class="textfloat">'''{{{4|}}}'''</span>]]</div></div></td></tr></table></div></includeonly>

Latest revision as of 17:25, 25 December 2022

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

Usage:
{{ddeckcn|(副本名称(英))|(副本图片)|(副本颜色)|(副本名称(中))}}