Changes
Template:WPBannerMeta/importancescale (view source)
Revision as of 08:20, 8 April 2017
, 7 years agonoinclude must follow "real" template code directly, without intervening spaces or line breaks
{{#if:{{{SHOW|}}}|{{#ifeq:{{{importance|}}}|NA||
<tr>
{{importance
|{{{importance|}}}
|category={{{ASSESSMENT_CAT}}}
|impn={{{IMPN|importance}}}
}}
<td class="mbox-text" colspan="2">{{#ifeq:{{{small}}}|yes
|'''[[{{#if:{{{ASSESSMENT_LINK|}}}
|{{{ASSESSMENT_LINK}}}#{{ucfirst:{{{IMPN|importance}}}}} scale
|Wikipedia:Version 1.0 Editorial Team/Release Version_Criteria#Importance of topic
}}|{{ucfirst:{{{IMPN|importance}}}}}:]]''' {{#ifeq:{{{importance|}}}|Unknown
|not yet rated
|{{{importance}}}
}}
|This {{pagetype|{{{class}}}}} has {{#ifeq:{{{importance|}}}|Unknown
|not yet received a rating
|been rated as '''{{{importance}}}-{{{IMPN|importance}}}'''
}} on the {{#if:{{{ASSESSMENT_LINK|}}}|project's}} [[{{#if:{{{ASSESSMENT_LINK|}}}
|{{{ASSESSMENT_LINK}}}#{{ucfirst:{{{IMPN|importance}}}}} scale
|Wikipedia:Version 1.0 Editorial Team/Release Version Criteria#Importance of topic
}}|{{lc:{{{IMPN|importance}}}}} scale]].
}}</td></tr>
}}}}{{#ifeq:{{{category|¬}}}|¬
|[[Category:{{{importance|}}}-{{{IMPN|importance}}} {{{ASSESSMENT_CAT}}}]]
}}<noinclude>
{{Documentation}}</noinclude>
<tr>
{{importance
|{{{importance|}}}
|category={{{ASSESSMENT_CAT}}}
|impn={{{IMPN|importance}}}
}}
<td class="mbox-text" colspan="2">{{#ifeq:{{{small}}}|yes
|'''[[{{#if:{{{ASSESSMENT_LINK|}}}
|{{{ASSESSMENT_LINK}}}#{{ucfirst:{{{IMPN|importance}}}}} scale
|Wikipedia:Version 1.0 Editorial Team/Release Version_Criteria#Importance of topic
}}|{{ucfirst:{{{IMPN|importance}}}}}:]]''' {{#ifeq:{{{importance|}}}|Unknown
|not yet rated
|{{{importance}}}
}}
|This {{pagetype|{{{class}}}}} has {{#ifeq:{{{importance|}}}|Unknown
|not yet received a rating
|been rated as '''{{{importance}}}-{{{IMPN|importance}}}'''
}} on the {{#if:{{{ASSESSMENT_LINK|}}}|project's}} [[{{#if:{{{ASSESSMENT_LINK|}}}
|{{{ASSESSMENT_LINK}}}#{{ucfirst:{{{IMPN|importance}}}}} scale
|Wikipedia:Version 1.0 Editorial Team/Release Version Criteria#Importance of topic
}}|{{lc:{{{IMPN|importance}}}}} scale]].
}}</td></tr>
}}}}{{#ifeq:{{{category|¬}}}|¬
|[[Category:{{{importance|}}}-{{{IMPN|importance}}} {{{ASSESSMENT_CAT}}}]]
}}<noinclude>
{{Documentation}}</noinclude>