115,240
edits
(I will admit I don't fully know where I was going with this template, though I see now it was based on {{ArticleStrip}}. Anyhow, this simplification should still produce the same results.) |
No edit summary |
||
Line 4: | Line 4: | ||
|Television={{#sub:{{{1}}}|11|{{#expr:{{#len:{{{1}}}}} - 11}}}} | |Television={{#sub:{{{1}}}|11|{{#expr:{{#len:{{{1}}}}} - 11}}}} | ||
|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={{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> |