模板:Interlanguage link info/doc

< 模板:Interlanguage link info
Ph9讨论 | 贡献2020年12月27日 (日) 14:58的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:模板:Interlanguage link info
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage

This template adds an information banner to assist readers in understanding a {{Interlanguage link}}. Up to two parameters may be supplied:

Section

The first (and only) unnamed parameter, |sec= and |section= change the first words. By default they are "This page". If the parameter is "y" or "true" then the words will be "This section". Any other value simply replaces the word "article".

Small

By default the message is displayed across the width of the page. If |small=left is supplied then the box will be narrow on the left-hand side. This only works in sections, boxes applying to the whole page cannot be rendered small.

{{#ifeq:{{#if:section|{{#if:left|left}} }}|left|}}

See also

  • {{ill-info}} which links to {{Interlanguage link info}}.