Difference between revisions of "Template:Fix"

From KGB Wiki
Jump to: navigation, search
(Created page with "{{#switch:{{{subst|¬}}} |¬={{category handler |template=Category:Templates needing substitution checking |nocat={{{nocat|<noinclude>true</noinclude>}}} }} |SUBST=...")
 
Line 5: Line 5:
 
  }}
 
  }}
 
  |SUBST=[[Category:Pages with incorrectly substituted templates]]
 
  |SUBST=[[Category:Pages with incorrectly substituted templates]]
}}{{Category handler
 
|main={{Fix/category
 
  |cat-date={{{cat-date|}}}
 
  |cat={{{cat|}}}
 
  |cat-date2={{{cat-date2|}}}
 
  |cat2={{{cat2|}}}
 
  |cat-date3={{{cat-date3|}}}
 
  |cat3={{{cat3|}}}
 
  |date={{{date|}}}
 
}}
 
|template={{#if:{{{name|}}}|{{#ifeq:{{{name}}}|{{ROOTPAGENAME}}||{{#if:{{{date|}}}||[[Category:Templates including undated clean-up tags]]}}}}}}
 
|subpage=no
 
 
}}{{#if:{{{text|}}}
 
}}{{#if:{{{text|}}}
 
  |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
 
  |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}

Revision as of 12:40, 4 February 2025

{{#switch:¬

|¬=Template:Category handler
|SUBST=

}}{{#if:

|[{{#if:
 |{{{pre-text}}} 
}}]]{{#if:
 | {{{post-text}}}
}}]|

}}{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Fix with unknown parameter "_VALUE_"|ignoreblank=y| cat | cat-date | cat-date2 | cat-date3 | cat2 | cat3 | class | date | link | name | nocat | post-text | pre-text | special | subst | text | title }} Template:Documentation