(testing new badge template) |
m (titleparts) |
||
Line 52: | Line 52: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{Parent|}}}<!-- | -->{{#if:{{{Parent|}}}<!-- | ||
-->|<span tabindex="0" title="Secret revealed by unlocking {{#show:YNOproject:Badges/{{#titleparts:{{PAGENAME}}|/| | -->|<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 68: | ||
-->|,<!-- | -->|,<!-- | ||
-->|@<!-- | -->|@<!-- | ||
-->|[[{{#titleparts:{{PAGENAME}}|/| | -->|[[{{#titleparts:{{PAGENAME}}|/|2}}:@{{!}}{{#replace:@|:|#}}]]<!-- Replaces colon and space with a hash | ||
-->|,\s<!-- | -->|,\s<!-- | ||
-->|and<!-- | -->|and<!-- | ||
Line 80: | Line 80: | ||
-->{{#subobject:{{{1|}}} | -->{{#subobject:{{{1|}}} | ||
|Badge/ID = {{{1|}}} | |Badge/ID = {{{1|}}} | ||
|Is part of game = {{#titleparts:{{PAGENAME}}|/| | |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}}} |