Template:CatStrip: Difference between revisions

From Jenny Everywhere Wiki
No edit summary
(I still question whether we need this template, but may as well update it (yes, I know I'm the one who made it))
Line 3: Line 3:
|TV={{#sub:{{{1|{{PAGENAME}}}}}|3|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 3}}}}
|TV={{#sub:{{{1|{{PAGENAME}}}}}|3|{{#expr:{{#len:{{{1|{{PAGENAME}}}}}}} - 3}}}}
|Television={{#sub:{{{1}}}|11|{{#expr:{{#len:{{{1}}}}} - 11}}}}
|Television={{#sub:{{{1}}}|11|{{#expr:{{#len:{{{1}}}}} - 11}}}}
|Documentary={{#sub:{{{1}}}|12|{{#expr:{{#len:{{{1}}}}} - 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:02, 3 February 2019

Template:Lock