Difference between revisions of "Template:NHVariationsTable"

From Nookipedia, the Animal Crossing wiki
m (Self-undo)
(hiding color1 and color2 in the event that neither exists)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<div style="overflow-x: auto;">
 
{{#if: {{{variation1|}}}{{{pattern1|}}} |
 
{{#if: {{{variation1|}}}{{{pattern1|}}} |
 
{{{!}} style="border-spacing: 2em 0em; border-collapse: separate; text-align:center; line-height:1em;" {{!}}
 
{{{!}} style="border-spacing: 2em 0em; border-collapse: separate; text-align:center; line-height:1em;" {{!}}
Line 5: Line 6:
 
{{#if: {{{variation1|}}} | {{#if: {{{pattern1|}}}
 
{{#if: {{{variation1|}}} | {{#if: {{{pattern1|}}}
 
     |{{!}}{{#forargs: variation | key | value | &#32;
 
     |{{!}}{{#forargs: variation | key | value | &#32;
{{!}} <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 | <nowiki></nowiki>
 
  {{!}}-
 
  {{!}}-
 
       {{!}} <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>
Line 13: Line 14:
 
{{!}}}
 
{{!}}}
 
     | {{#forargs: variation | key | value | &#32;
 
     | {{#forargs: variation | key | value | &#32;
{{!}} <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>{{#if:{{{var{{#var: key}}-color1|}}}|<br><small>{{Color|{{{var{{#var: key}}-color1|}}}|small=yes}}</small>}}{{#if:{{{var{{#var: key}}-color2|}}}|<br><small>{{Color|{{{var{{#var: key}}-color2|}}}|small=yes}}</small>}}}}
 
{{!}}-
 
{{!}}-
 
{{#forargs: variation | key | value | &#32;
 
{{#forargs: variation | key | value | &#32;
Line 28: Line 29:
 
   }}
 
   }}
 
}}
 
}}
 +
</div>

Latest revision as of 14:35, November 16, 2021