Template:WPBannerDoc/tf and Template:WPBannerDoc/tf/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Funandtrvl
add example
 
imported>Redrose64
sync from live template
 
Line 5: Line 5:
-->{{#ifeq:{{{tf importance}}}|importance|{{#if:{{{TF_ASSESSMENT_CAT|}}}|
-->{{#ifeq:{{{tf importance}}}|importance|{{#if:{{{TF_ASSESSMENT_CAT|}}}|
**<small>This parameter uses {{para|importance}} to populate the relevant subcategory of {{cl|{{{TF_ASSESSMENT_CAT}}} by importance}}.</small>}}|{{#if:{{{tf importance|<noinclude>demo</noinclude>}}}|
**<small>This parameter uses {{para|importance}} to populate the relevant subcategory of {{cl|{{{TF_ASSESSMENT_CAT}}} by importance}}.</small>}}|{{#if:{{{tf importance|<noinclude>demo</noinclude>}}}|
**'''{{{tf importance}}}''' (only used if {{para|{{{1}}}|yes}} is set; {{#ifeq:{{{main importance|}}}|none|valid values are: top, high, mid, low, na|uses the same values as {{para|importance}} }}) – Importance rating within {{#if:{{{TF_TEXT|}}}|this taskforce|[[{{{TF_LINK}}}|{{{TF_NAME}}}]]}}{{#if:{{{inherit importance|<noinclude>demo</noinclude>}}}|. If blank or omitted, the importance rating set by {{para|{{{inherit importance}}}}} is used.}}{{#if:{{{TF_ASSESSMENT_CAT|<noinclude>demo</noinclude>}}}|
**'''{{{tf importance}}}''' (only used if {{para|{{{1}}}|yes}} is set; uses the same values as {{para|importance}}) – Importance rating within {{#if:{{{TF_TEXT|}}}|this taskforce|[[{{{TF_LINK}}}|{{{TF_NAME}}}]]}}{{#if:{{{inherit importance|<noinclude>demo</noinclude>}}}|. If blank or omitted, the importance rating set by {{para|{{{inherit importance}}}}} is used.}}{{#if:{{{TF_ASSESSMENT_CAT|<noinclude>demo</noinclude>}}}|
***<small>This importance rating populates the relevant subcategory of {{cl|{{{TF_ASSESSMENT_CAT}}} by importance}}.</small>}} }}
***<small>This importance rating populates the relevant subcategory of {{cl|{{{TF_ASSESSMENT_CAT}}} by importance}}.</small>}} }}
}}<noinclude>
}}<noinclude>


<!-- make sure there is a blank line above this one -->{{documentation |content=
<!-- make sure there is a blank line above this one -->{{documentation |content=
==Usage==
:<code><nowiki>{{WPBannerDoc/tf|taskforce parameter|TF_LINK= |TF_NAME= |TF_TEXT= |TF_QUALITY= |tf importance= |TF_ASSESSMENT_CAT= |TF_MAIN_CAT= }}</nowiki></code>
:<code><nowiki>{{WPBannerDoc/tf|taskforce parameter|TF_LINK= |TF_NAME= |TF_TEXT= |TF_QUALITY= |tf importance= |TF_ASSESSMENT_CAT= |TF_MAIN_CAT= }}</nowiki></code>
{{para|TF_TEXT}} if present and non-blank, overrides {{para|TF_LINK}} and {{para|TF_NAME}}
{{para|TF_TEXT}} if present and non-blank, overrides {{para|TF_LINK}} and {{para|TF_NAME}}
==Example==
 
{{nowiki template demo|code=<nowiki>{{WPBannerDoc/tf |Madeira |TF_LINK=Wikipedia:WikiProject Portugal/Madeira work group |TF_NAME=the Madeira work group |TF_QUALITY=yes |tf importance=Madeira-importance |TF_ASSESSMENT_CAT=Madeira articles |TF_MAIN_CAT=WikiProject Madeira articles }}</nowiki>}}
[[Category:WikiProject banner documentation templates|{{SUBPAGENAME}}]]
[[Category:WikiProject banner documentation templates|{{SUBPAGENAME}}]]
}}</noinclude>
}}</noinclude>