Template:Subst template: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>Nikel23
No edit summary
imported>K6ka
m (Reverted edits by UnLeashedWolfie (talk) to last version by LostInRiverview)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Metabox|type=warning|image=Skill_TS4_Writing.png|nocat=yes|headline=Substitution-only Template|text=This template is '''not for [[Wikipedia:Wikipedia:Transclusion|transclusion]]''' and must be put on pages using [[Help:Substituting templates|substitution]] with the '''subst''' prefix. Eg. <code><nowiki>{{subst:Template}}</nowiki></code>

}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Subst templates|{{PAGENAME}}]]}}</includeonly><noinclude>
{|class="roundborder" style="border: 1px solid #{{#if:|{{{bordercolor}}}|{{MetaboxBorder|info}}}}; background: #{{#if:|{{{backgroundcolor}}}|{{MetaboxBG|info}}}}; -moz-border-radius:5px; border-radius:5px; border-left: 10px solid #{{#if:|{{{bordercolor}}}|{{MetaboxBorder|info}}}}; border-right: 1px solid #{{#if:|{{{bordercolor}}}|{{MetaboxBorder|info}}}}; {{#ifeq:{{{size}}}|small|font-size: 90%; line-height:120%;" width={{#if:|"{{{width}}}%"|"45%"}} align="left"|font-size: 100%; line-height:120%;" width={{#if:|"{{{width}}}%"|"85%"}} align="center"}}
{{#if:Balloon notebook.png|{{!}}width={{#if:|"{{{imagewidth}}}"|"{{#ifeq:{{{size}}}|small|50px|60px}}"}} align="center"{{!}}[[File:Balloon notebook.png|{{#if:|{{{imagesize}}}px|40px}}|{{#if:|link={{{imagelink}}}|}}]] }}
|''' '''
This template is '''not for [[Wikipedia:Wikipedia:Transclusion|transclusion]]''' and must be put on pages using [[Help:Substituting templates|substitution]] with the '''subst''' prefix. Eg. <code><nowiki>{{subst:Template}}</nowiki></code>
|}{{#if:|{{#ifeq:{{NAMESPACE}}| | [[Category:{{{cat}}}|{{#if:|{{{catsort}}}|{{{PAGENAME}}}}}]]|}}|}} {{#ifeq:{{NAMESPACE}}|Template|[[Category:Templates using Metabox|{{PAGENAME}}]]|}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Subst templates|{{PAGENAME}}]]}}</includeonly><noinclude>
;Description: For templates which must be prefixed with '''subst'''. Adds templates to [[:Category:Subst templates]]. Note that ''this template is not a subst template'' and therefore does not need to be substituted onto pages.
;Description: For templates which must be prefixed with '''subst'''. Adds templates to [[:Category:Subst templates]]. Note that ''this template is not a subst template'' and therefore does not need to be substituted onto pages.
[[Category:Template messages|{{PAGENAME}}]][[Category:Subst templates| {{PAGENAME}}]]</noinclude>
[[Category:Templates using Metabox|{{PAGENAME}}]][[Category:Template messages|{{PAGENAME}}]][[Category:Subst templates| {{PAGENAME}}]]</noinclude>

Latest revision as of 00:41, 26 June 2019

Substitution-only Template
This template is not for transclusion and must be put on pages using substitution with the subst prefix. Eg. {{subst:Template}}
Description
For templates which must be prefixed with subst. Adds templates to Category:Subst templates. Note that this template is not a subst template and therefore does not need to be substituted onto pages.