Template:CatStrip: Difference between revisions
From Jenny Everywhere Wiki
mNo edit summary |
(may as well add something more useful to this) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#explode:{{{1|{{PAGENAME}}}}}||0}} | <includeonly>{{#switch:{{#explode:{{{1|{{PAGENAME}}}}}||0}} | ||
|Individual={{#sub:{{{1|{{PAGENAME}}}}}|11|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 11}}}} | |||
|Audio|Comic|Prose|Stage={{#sub:{{{1|{{PAGENAME}}}}}|6|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 6}}}} | |Audio|Comic|Prose|Stage={{#sub:{{{1|{{PAGENAME}}}}}|6|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 6}}}} | ||
|TV={{#sub:{{{1|{{PAGENAME}}}}}|3|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 3}}}} | |TV={{#sub:{{{1|{{PAGENAME}}}}}|3|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 3}}}} | ||
Line 5: | Line 8: | ||
|Documentary={{#sub:{{{1|{{PAGENAME}}}}}|12|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 12}}}} | |Documentary={{#sub:{{{1|{{PAGENAME}}}}}|12|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 12}}}} | ||
|Video={{#ifeq:{{#explode:{{{1|{{PAGENAME}}}}}||1}}|game|{{#sub:{{{1|{{PAGENAME}}}}}|11|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 11}}}}|{{#sub:{{{1|{{PAGENAME}}}}}|6|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 6}}}}}} | |Video={{#ifeq:{{#explode:{{{1|{{PAGENAME}}}}}||1}}|game|{{#sub:{{{1|{{PAGENAME}}}}}|11|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 11}}}}|{{#sub:{{{1|{{PAGENAME}}}}}|6|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 6}}}}}} | ||
|#default={{{1|{{PAGENAME}}}}}<!--{{ArticleStrip|{{{1|{{PAGENAME}}}}}}}--> | |#default={{{1|{{PAGENAME}}}}}<!--{{ArticleStrip|{{{1|{{PAGENAME}}}}}}}--> | ||
}}</includeonly><noinclude>[[Category:coding utility templates]]{{documentation}}{{lock}}</noinclude> | }}</includeonly><noinclude>[[Category:coding utility templates]]{{documentation}}{{lock}}</noinclude> |
Revision as of 03:13, 3 February 2019
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |