Template:InstructionalQuotes: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Looks like it has worked. I've modified the code here so that it can display correctly. Again, rollback if it fails.)
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|class="wikitable" style="font-style:italic"
<includeonly>{|class="InstructionalQuotes wikitable" style="font-style:italic"
{{#if:{{{ssbmdesc|}}}|{{InstructionalQuoteRow
{{#if:{{{ssbmdesc|}}}|{{InstructionalQuoteRow
|charcount={{{ssbmcount|1}}}
|charcount={{{ssbmcount|1}}}
Line 12: Line 12:
|char4={{{ssbmchar4}}}
|char4={{{ssbmchar4}}}
|desc4={{{ssbmdesc4}}}
|desc4={{{ssbmdesc4}}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbmtrophycount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
}}}}
{{#if:{{{ssbmtrophydesc|}}}|{{InstructionalQuoteRow
|charcount={{{ssbmtrophycount|1}}}
|game=SSBM
|icondesc=trophy description
|char={{{ssbmtrophychar}}}
|desc={{{ssbmtrophydesc}}}
|char2={{{ssbmtrophychar2}}}
|desc2={{{ssbmtrophydesc2}}}
|char3={{{ssbmtrophychar3}}}
|desc3={{{ssbmtrophydesc3}}}
|char4={{{ssbmtrophychar4}}}
|desc4={{{ssbmtrophydesc4}}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbmtrophycount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
}}}}
}}}}
{{#if:{{{ssbbdesc|}}}|{{InstructionalQuoteRow
{{#if:{{{ssbbdesc|}}}|{{InstructionalQuoteRow
Line 26: Line 40:
|char4={{{ssbbchar4}}}
|char4={{{ssbbchar4}}}
|desc4={{{ssbbdesc4}}}
|desc4={{{ssbbdesc4}}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbmtrophycount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
}}}}
}}}}
{{#if:{{{ssb4-3desc|}}}|{{InstructionalQuoteRow
{{#if:{{{ssb4-3desc|}}}|{{InstructionalQuoteRow
Line 40: Line 54:
|char4={{{ssb4-3char4}}}
|char4={{{ssb4-3char4}}}
|desc4={{{ssb4-3desc4}}}
|desc4={{{ssb4-3desc4}}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbmtrophycount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
}}}}
}}}}
{{#if:{{{ssb4-udesc|}}}|{{InstructionalQuoteRow
{{#if:{{{ssb4-udesc|}}}|{{InstructionalQuoteRow
Line 54: Line 68:
|char4={{{ssb4-uchar4}}}
|char4={{{ssb4-uchar4}}}
|desc4={{{ssb4-udesc4}}}
|desc4={{{ssb4-udesc4}}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbmtrophycount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
}}}}
}}}}
{{#if:{{{ssbudesc|}}}|{{InstructionalQuoteRow
{{#if:{{{ssbudesc|}}}|{{InstructionalQuoteRow
Line 70: Line 84:
|char5={{{ssbuchar5}}}
|char5={{{ssbuchar5}}}
|desc5={{{ssbudesc5}}}
|desc5={{{ssbudesc5}}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
|showhead={{#ifexpr:({{{ssbmcount|1}}}+{{{ssbmtrophycount|1}}}+{{{ssbbcount|1}}}+{{{ssb4-3count|1}}}+{{{ssb4-ucount|1}}}+{{{ssbucount|1}}})>4|y|n}}
}}}}
}}}}
|}<noinclude>
|}<templatestyles src="InstructionalQuotes/styles.css"/></includeonly><noinclude>
==Params==
==Params==
<pre>
<pre>
ssbm
ssbm
ssbmtrophy
ssbb
ssbb
ssb4-3
ssb4-3
Line 81: Line 96:
ssbu
ssbu
</pre>
</pre>
<pre>
<pre>
....count
....count

Latest revision as of 08:14, October 1, 2021

Params

ssbm
ssbmtrophy
ssbb
ssb4-3
ssb4-u
ssbu
....count
....char
....desc
....char2
....desc2
....char3
....desc3
....char4
....desc4
....char5
....desc5