Difference between revisions of "Template:NHVariationsTable"

From Nookipedia, the Animal Crossing wiki
m (Rm newline)
(Test linebreak removal)
Tag: Undo
Line 1: Line 1:
{{#if: {{{variation1|}}}{{{pattern1|}}} | {{{!}} style="width:60%; border-spacing:8px; text-align:center; line-height:1em;" {{!}}
+
{{#if: {{{variation1|}}}{{{pattern1|}}} |
 +
{{{!}} style="width:60%; border-spacing:8px; text-align:center; line-height:1em;" {{!}}
 
{{!}}-
 
{{!}}-
 
}}{{#if: {{{variation1|}}} | {{#if: {{{pattern1|}}}
 
}}{{#if: {{{variation1|}}} | {{#if: {{{pattern1|}}}
     |{{!}}{{#forargs: variation | key | value | <br>
+
     |{{!}}{{#forargs: variation | key | value |  
 
{{!}} <span style="font-size:.9em; color:#323232;">'''{{{variation{{#var: key}}|}}}'''</span><br><small>{{Color|{{{var{{#var: key}}-color1|}}}|small=yes}}</small>}}{{#forargs: pattern | key | value | <br>
 
{{!}} <span style="font-size:.9em; color:#323232;">'''{{{variation{{#var: key}}|}}}'''</span><br><small>{{Color|{{{var{{#var: key}}-color1|}}}|small=yes}}</small>}}{{#forargs: pattern | key | value | <br>
 
  {{!}}-
 
  {{!}}-
 
       {{!}} <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 | <br>
+
  {{#forargs: variation | key2 | value |  
 
  {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{variation{{#var: key2 }}|}}} - {{{pattern{{#var: key }}|}}}) NH Icon.png|60px]] }}
 
  {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{variation{{#var: key2 }}|}}} - {{{pattern{{#var: key }}|}}}) NH Icon.png|60px]] }}
 
   }}<br>
 
   }}<br>
 
{{!}}}
 
{{!}}}
     | {{#forargs: variation | key | value | <br>
+
     | {{#forargs: variation | key | value |  
 
{{!}} <span style="font-size:.9em; color:#323232;">'''{{{variation{{#var: key}}|}}}'''</span><br><small>{{Color|{{{var{{#var: key}}-color1|}}}|small=yes}}<br>{{Color|{{{var{{#var: key}}-color2|}}}|small=yes}}</small>}}
 
{{!}} <span style="font-size:.9em; color:#323232;">'''{{{variation{{#var: key}}|}}}'''</span><br><small>{{Color|{{{var{{#var: key}}-color1|}}}|small=yes}}<br>{{Color|{{{var{{#var: key}}-color2|}}}|small=yes}}</small>}}
 
{{!}}-
 
{{!}}-
{{#forargs: variation | key | value | <br>
+
{{#forargs: variation | key | value |  
 
{{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{variation{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
 
{{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{variation{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
 
{{!}}}
 
{{!}}}
 
   }}
 
   }}
 
| {{#if: {{{pattern1|}}}
 
| {{#if: {{{pattern1|}}}
   | {{#forargs: pattern | key | value | <br>
+
   | {{#forargs: pattern | key | value |  
 
   {{!}} <span style="font-size:.9em; color:#323232;">'''{{{pattern{{#var: key}}|}}}'''</span><br><small>{{Color|{{{pat{{#var: key}}-color1|}}}|small=yes}}<br>{{Color|{{{pat{{#var: key}}-color2|}}}|small=yes}}</small>}}
 
   {{!}} <span style="font-size:.9em; color:#323232;">'''{{{pattern{{#var: key}}|}}}'''</span><br><small>{{Color|{{{pat{{#var: key}}-color1|}}}|small=yes}}<br>{{Color|{{{pat{{#var: key}}-color2|}}}|small=yes}}</small>}}
 
   {{!}}-
 
   {{!}}-
   {{#forargs: pattern | key | value | <br>
+
   {{#forargs: pattern | key | value |  
 
   {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{pattern{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
 
   {{!}} [[File:{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}} ({{{pattern{{#var: key }}|}}}) NH Icon.png|60px]]}}<br>
 
   {{!}}}
 
   {{!}}}
 
   }}
 
   }}
 
}}
 
}}

Revision as of 02:31, May 16, 2020