×
Create a new article
Write your page title here:
We currently have 2,869 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
2,869Articles

User:ZASNK/Template: Difference between revisions

(testing new badge template)
(oversight)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>__NOINDEX__
<noinclude>__NOINDEX__
{{User:ZASNK/Signature/s}}
{{User:ZASNK/Signature/s}}
</noinclude><includeonly>|{{#if:{{{1}}}|- id="{{{1}}}"|-
</noinclude><includeonly>|{{#if:{{{1}}}|- id="{{{1}}}|-
!colspan="8"{{!}}BELOW BADGE MISSING ID - PLEASE ADD
!colspan="10"{{!}}BELOW BADGE MISSING ID - PLEASE ADD
{{!}}-
{{!}}- id="{{{3}}}
}}
}}"
|style="text-align:center; background:{{{Icon_bg|}}}"|<!-- Icon_bg can customise Icon cell background
|style="text-align:center; background:{{{Icon_bg|}}}"|<!-- Icon_bg can customise Icon cell background
-->{{#arraymap:{{{2}}}|,|@|[[File:@]]|<br><br>}}<!-- Format as image, separate using linebreaks
-->{{#arraymap:{{{2}}}|,|@|[[File:@]]|<br><br>}}<!-- Format as image, separate using linebreaks
-->
-->
|<span title="{{#if:a|{{{1}}}}}" tabindex="0"><!-- Wrap Name in a span with the id in a title. tabindex allows mobile clients to see id by tapping
|<span title="{{#if:{{{1}}}|{{{1}}}|Unknown ID}}" tabindex="0"><!-- Wrap Name in a span with the id in a title. tabindex allows mobile clients to see id by tapping
-->{{#if:a|{{{3}}}}}</span>
-->{{#if:a|{{{3}}}}}</span>
|{{{4}}}<!-- BP -->|style="text-align:center; {{#if:{{{5}}}|{{{5}}}|background:#CCC}}}"|<!-- If no traits, dark cell
|{{#if:{{{4}}}|{{{4}}}|style="background:#CCC"{{!}}}}
|style="text-align:center; {{#if:{{{5}}}||background:#CCC}}"|<!-- If no traits, dark cell
-->{{#if:{{#pos:{{{5}}}|s hidden}}<!--
-->{{#if:{{#pos:{{{5}}}|s hidden}}<!--
-->|<span tabindex="0" title="Hidden">🏆</span><br><!--
-->|<span tabindex="0" title="Hidden">🏆</span><br><!--
Line 52: Line 53:
-->}}<!--
-->}}<!--
-->{{#if:{{{Parent|}}}<!--
-->{{#if:{{{Parent|}}}<!--
-->|<span tabindex="0" title="Secret revealed by unlocking {{#show:YNOproject:Badges/{{#titleparts:{{PAGENAME}}|/|1}}#{{{Parent}}}|?Badge/Name|default=a previous badge}}">🔐</span><br><!--
-->|<span tabindex="0" title="Secret revealed by unlocking {{#show:YNOproject:Badges/{{#titleparts:{{PAGENAME}}|/|2}}#{{{Parent}}}|?Badge/Name|default=a previous badge}}">🔐</span><br><!--
   -->{{#subobject:{{{1|}}}<!--
   -->{{#subobject:{{{1|}}}<!--
   -->|Badge/Has parent=true<!--
   -->|Badge/Has parent=true<!--
Line 68: Line 69:
   -->|,<!--
   -->|,<!--
   -->|@<!--
   -->|@<!--
   -->|[[{{#titleparts:{{PAGENAME}}|/|1}}:@{{!}}{{#replace:@|:|#}}]]<!-- Replaces colon and space with a hash
   -->|[[{{#titleparts:{{PAGENAME}}|/|2}}:@{{!}}{{#replace:@|#|:&#32;}}]]<!-- Replaces has with colon and space
   -->|,\s<!--
   -->|,\s<!--
   -->|and<!--
   -->|and<!--
Line 77: Line 78:
|{{{8}}}<!-- Condition -->|{{#if:{{{9}}}|{{{9}}}|style="background:#CCC"{{!}}}}
|{{{8}}}<!-- Condition -->|{{#if:{{{9}}}|{{{9}}}|style="background:#CCC"{{!}}}}
|{{{10}}}<!-- Authors should be separated by the usual & symbol -->|<!--
|{{{10}}}<!-- Authors should be separated by the usual & symbol -->|<!--
-->{{{Date|{{badge/Batch2Date|{{{11}}}}}}}}<br>Batch&nbsp;{{{11}}}<!--
-->{{{Date|{{badge/Batch2Date|{{{11}}}}}}}}<br>Batch&nbsp;{{#if:a|{{{11}}}}}<!--
-->{{#subobject:{{{1|}}}
-->{{#subobject:{{{1|}}}
|Badge/ID = {{{1|}}}
|Badge/ID = {{{1|}}}
|Is part of game = {{#titleparts:{{PAGENAME}}|/|1}}
|Is part of game = {{#titleparts:{{PAGENAME}}|/|2}}
|Badge/Icon = {{#arraymap:{{{2}}}|,|@|File:@|,}}|+sep=,
|Badge/Icon = {{#arraymap:{{{2}}}|,|@|File:@|,}}|+sep=,
|Badge/Name = {{{3}}}
|Badge/Name = {{{3}}}
|Badge/BP = {{{4}}}
|Badge/BP = {{{4}}}
|Badge/Location = {{#arraymap:{{{6}}}|,|@|{{{type|}}}:{{#explode:@|#|0}}|,}}|+sep=,
|Badge/Location = {{#arraymap:{{{6}}}|,|@|{{#titleparts:{{PAGENAME}}|/|2}}:{{#explode:@|#|0}}|,}}|+sep=,
|Badge/Description = {{{7}}}
|Badge/Description = {{{7}}}
|Badge/Condition = {{{8}}}
|Badge/Condition = {{{8}}}

Latest revision as of 04:47, 2 September 2024


User page Talk Sandbox Test Template Todo Signature Nav