模板:稀有度:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第2行: | 第2行: | ||
--><includeonly><!-- | --><includeonly><!-- | ||
-->{{#switch: {{lc:{{{1}}}}}<!-- | -->{{#switch: {{lc:{{{1}}}}}<!-- | ||
--> | 1 | c | common = {{Common |{{{2|}}}}}<!-- | --> | 1 | c | common = {{Common |{{{2|Common}}}}}<!-- | ||
--> | 2 | un | unusual = {{Unusual |{{{2|}}}}}<!-- | --> | 2 | un | unusual = {{Unusual |{{{2|Unusual}}}}}<!-- | ||
--> | 3 | r | rare = {{Rare |{{{2|}}}}}<!-- | --> | 3 | r | rare = {{Rare |{{{2|Rare}}}}}<!-- | ||
--> | 4 | e | epic = {{Epic |{{{2|}}}}}<!-- | --> | 4 | e | epic = {{Epic |{{{2|Epic}}}}}<!-- | ||
--> | 5 | l | legendary = {{Legendary|{{{2|}}}}}<!-- | --> | 5 | l | legendary = {{Legendary|{{{2|Legendary}}}}}<!-- | ||
--> | 6 | m | mythic = {{Mythic |{{{2|}}}}}<!-- | --> | 6 | m | mythic = {{Mythic |{{{2|Mythic}}}}}<!-- | ||
--> | 7 | u | ultra = {{Ultra |{{{2|}}}}}<!-- | --> | 7 | u | ultra = {{Ultra |{{{2|Ultra}}}}}<!-- | ||
--> | 8 | s | super = {{Super |{{{2|}}}}}<!-- | --> | 8 | s | super = {{Super |{{{2|Super}}}}}<!-- | ||
--> | 9 | lu | lunatic = {{Lunatic |{{{2|}}}}}<!-- | --> | 9 | lu | lunatic = {{Lunatic |{{{2|Lunatic}}}}}<!-- | ||
--> | 0 | n | null = {{Null |{{{2|}}}}}<!-- | --> | 0 | n | null = {{Null |{{{2|Null}}}}}<!-- | ||
--> | #default = <span class="error" style="color: red; font-weight: bold">错误</span><!-- | --> | #default = <span class="error" style="color: red; font-weight: bold">错误</span><!-- | ||
-->}}<!-- | -->}}<!-- |
2024年2月26日 (一) 20:10的版本
稀有度模板。
{{稀有度|<稀有度名:如Common>|[参数]}}等价于{{Common|[参数]}}
使用例:
{| class="wikitable" style="text-align: center" ! 直接使用 | {{Common}} || {{Unusual}} || {{Rare}} || {{Epic}} || {{Legendary}} || {{Mythic}} || {{Ultra}} || {{Super}} || {{Lunatic}} || {{Null}} |- ! 内部链接 | {{Common|卡片}} || {{Unusual|卡片}} || {{Rare|卡片}} || {{Epic|卡片}} || {{Legendary|卡片}} || {{Mythic|卡片}} || {{Ultra|卡片}} || {{Super|卡片}} || {{Lunatic|卡片}} || {{Null|卡片}} |- ! 文本上色 | colspan="10" | {{Common|We}}{{Unusual|lc}}{{Rare|om}}{{Epic|e t}}{{Legendary|o R}}{{Mythic|ac}}{{Ultra|co}}{{Super|n W}}{{Lunatic|ik}}{{Null|i!}} |- ! 获取色值 | {{Common|值}} || {{Unusual|值}} || {{Rare|值}} || {{Epic|值}} || {{Legendary|值}} || {{Mythic|值}} || {{Ultra|值}} || {{Super|值}} || {{Lunatic|值}} || {{Null|值}} |- ! 容器上色 | <div style="margin: auto; width: 50px; height: 50px; background-color: {{Common|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Unusual|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Rare|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Epic|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Legendary|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Mythic|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Ultra|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Super|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Lunatic|值}}"></div> || <div style="margin: auto; width: 50px; height: 50px; background-color: {{Null|值}}"></div> |}
直接使用 | Common | Unusual | Rare | Epic | Legendary | Mythic | Ultra | Super | Lunatic | None |
---|---|---|---|---|---|---|---|---|---|---|
内部链接 | 卡片 | 卡片 | 卡片 | 卡片 | 卡片 | 卡片 | 卡片 | 卡片 | 卡片 | 卡片 |
文本上色 | Welcome to Raccon Wiki! | |||||||||
获取色值 | #7EEF6D | #FFE65D | #48ABE8 | #BE6CDE | #EE6A72 | #43E3D8 | #F274A9 | #2BFFAE | #FFB06B | #AAAAAA |
容器上色 |