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



YumeWiki
3,036Articles

User:ZASNK/Template: Difference between revisions

m (test missing id changes)
(Replaced content with "<noinclude>__NOINDEX__ {{User:ZASNK/Signature/s}} </noinclude>")
Tag: Replaced
 
(6 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>
!colspan="10"{{!}}BELOW BADGE MISSING ID - PLEASE ADD
{{!}}- style="color:#F00
}}"
|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
-->
|<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:{{{4}}}|{{{4}}}|style="background:#CCC"{{!}}}}
|style="text-align:center; {{#if:{{{5}}}||background:#CCC}}"|<!-- If no traits, dark cell
-->{{#if:{{#pos:{{{5}}}|s hidden}}<!--
-->|<span tabindex="0" title="Hidden">🏆</span><br><!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Is hidden=true<!--
  -->}}<!--
-->|<!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Is hidden=false<!--
  -->}}<!--
-->}}<!--
-->{{#if:{{#pos:{{lc:{{{5}}}}}|is secret}}<!--
-->|<span tabindex="0" title="Secret">🔒</span><br><!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Is secret=true<!--
  -->}}<!--
-->|<!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Is secret=false<!--
  -->}}<!--
-->}}<!--
-->{{#if:{{#pos:{{{5}}}|as secret condition}}<!--
-->|<span tabindex="0" title="Secret condition">🤐</span><br><!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Has secret condition=true<!--
  -->}}<!--
-->|<!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Has secret condition=false<!--
  -->}}<!--
-->}}<!--
-->{{#if:{{#pos:{{{5}}}|as secret map}}<!--
-->|<span tabindex="0" title="Secret map">🗺</span><br><!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Has secret map=true<!--
  -->}}<!--
-->|<!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Has secret map=false<!--
  -->}}<!--
-->}}<!--
-->{{#if:{{{Parent|}}}<!--
-->|<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|}}}<!--
  -->|Badge/Has parent=true<!--
  -->|Badge/Parent={{{Parent|}}}<!--
  -->}}<!--
-->|<!--
  -->{{#subobject:{{{1|}}}<!--
  -->|Badge/Has parent=false<!--
  -->}}<!--
-->}}
|<!--
-->{{#if:{{{6|}}}<!--
-->|<!--
  -->{{#arraymap:{{{6}}}<!-- Format and list locations as links using type
  -->|,<!--
  -->|@<!--
  -->|[[{{#titleparts:{{PAGENAME}}|/|2}}:@{{!}}{{#replace:@|:|#}}]]<!-- Replaces colon and space with a hash
  -->|,\s<!--
  -->|and<!--
  -->}}<!--
-->|style="background:#CCC"{{!}}<!--
-->}}
|{{#if:{{{7}}}|{{{7}}}|style="background:#CCC"{{!}}}}
|{{{8}}}<!-- Condition -->|{{#if:{{{9}}}|{{{9}}}|style="background:#CCC"{{!}}}}
|{{{10}}}<!-- Authors should be separated by the usual & symbol -->|<!--
-->{{{Date|{{badge/Batch2Date|{{{11}}}}}}}}<br>Batch&nbsp;{{#if:a|{{{11}}}}}<!--
-->{{#subobject:{{{1|}}}
|Badge/ID = {{{1|}}}
|Is part of game = {{#titleparts:{{PAGENAME}}|/|2}}
|Badge/Icon = {{#arraymap:{{{2}}}|,|@|File:@|,}}|+sep=,
|Badge/Name = {{{3}}}
|Badge/BP = {{{4}}}
|Badge/Location = {{#arraymap:{{{6}}}|,|@|{{{type|}}}:{{#explode:@|#|0}}|,}}|+sep=,
|Badge/Description = {{{7}}}
|Badge/Condition = {{{8}}}
|Badge/Notes = {{{9}}}
|Badge/Author = {{{10}}}|+sep=&
|Badge/Date = {{{Date|{{badge/Batch2Date|{{{11}}}}}}}}
|Badge/Batch = {{{11}}}
}}<!--
-->
<!-- Above is just a newline
--></includeonly>

Latest revision as of 02:17, 29 October 2024


User page Talk Sandbox Test Template Todo Signature Nav YN files