“模板:Interlanguage link info/doc”的版本间的差异

wikilife>Michael Bednarek
(show small example; unlink self.)
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:58的最新版本

{{#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}}.