模板:Convert to transclusion

wikilife>Sdkb2020年10月30日 (五) 08:47的版本 →‎top fix for cats
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:|left|}}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:convert to transclusion |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Convert to transclusion
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage

{{Convert to transclusion|date=11月 2024}}

Also, the first parameter may be included to replace "article" or "page" with a specific term, such as "section" or "table". For example:

{{Convert to transclusion|section|date=11月 2024}}

The template will add pages to the maintenance category Category:Pages needing conversion to transclusion.

Known issues

  • Not sure that the categorization is working...

See also

{{#if:{{#ifeq:Convert|sandbox|1}}{{#ifeq:Convert to transclusion|doc|1}}|| }}