Difference between revisions of "Template:NHVariationsTable"

From Nookipedia, the Animal Crossing wiki
(Rm width, adjust border spacing)
(Stripping periods and " (New Horizons)" from item names)
Line 9: Line 9:
 
       {{!}} <span style="font-size:.9em; color:#323232;">'''{{{pattern{{#var: key}}|}}}'''</span><br><small>{{Color|{{{pat{{#var: key}}-color1|}}}|small=yes}}</small>
 
       {{!}} <span style="font-size:.9em; color:#323232;">'''{{{pattern{{#var: key}}|}}}'''</span><br><small>{{Color|{{{pat{{#var: key}}-color1|}}}|small=yes}}</small>
 
  {{#forargs: variation | key2 | value | &#32;
 
  {{#forargs: variation | key2 | value | &#32;
  {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{variation{{#var: key2 }}|}}} - {{{pattern{{#var: key }}|}}}) NH Icon.png|60px]] }}
+
  {{!}} [[File:{{{name|{{#replace:{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|.|}}|<nowiki> </nowiki>(New Horizons)|}} | | -1 }}}}} ({{{variation{{#var: key2 }}|}}} - {{{pattern{{#var: key }}|}}}) NH Icon.png|60px]] }}
 
   }}<br>
 
   }}<br>
 
{{!}}}
 
{{!}}}
Line 16: Line 16:
 
{{!}}-
 
{{!}}-
 
{{#forargs: variation | key | value | &#32;
 
{{#forargs: variation | key | value | &#32;
{{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{variation{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
+
{{!}} [[File:{{{name|{{#replace:{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|.|}}|<nowiki> </nowiki>(New Horizons)|}} | | -1 }}}}} ({{{variation{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
 
{{!}}}
 
{{!}}}
 
   }}
 
   }}
Line 24: Line 24:
 
   {{!}}-
 
   {{!}}-
 
   {{#forargs: pattern | key | value | &#32;
 
   {{#forargs: pattern | key | value | &#32;
   {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{pattern{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
+
   {{!}} [[File:{{{name|{{#replace:{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|.|}}|<nowiki> </nowiki>(New Horizons)|}} | | -1 }}}}} ({{{pattern{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
 
   {{!}}}
 
   {{!}}}
 
   }}
 
   }}
 
}}
 
}}

Revision as of 20:29, May 24, 2020