Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShowMe/doc: Difference between revisions

Template page
Created page with '{{bearbeiten}} __NOTOC__ {{Vorlagendokumentation/Dokuseite}} <onlyinclude> Die Vorlage {{tlx|{{subst:BASEPAGENAME}}}} erzeugt eine Box, die den WikiCode der ein...'
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{bearbeiten}} __NOTOC__
{{TemplateBox
{{Vorlagendokumentation/Dokuseite}}
  |1        = 1
<onlyinclude>
  |1label    = Page name
Die Vorlage {{tlx|ShowMe}} erzeugt eine Box, die den WikiCode der einbindenen Seite darstellt.== Verwendung ==
    |1label-de = Seitenname
{{tlx|ShowMe
    |1label-es = Nombre de la página
    |1label-fr = Nom de la page
    |1label-ja = ページ名
    |1label-ru = Название страницы
    |1label-zh = 页面名称
  |1d-en    = Name of the page to show
    |1d-de    = Name der Seite, die eingebunden werden soll
    |1d-es    = Nombre de la página para mostrar
    |1d-fr    = Nom de la page à afficher
    |1d-ja    = 表示するページの名前
    |1d-ru    = Название страницы для показа
    |1d-zh    = 要显示的页面的名称
  |1aliases  =  
  |1type    = string/wiki-page-name
  |1def      = <nowiki>{{PAGENAME}}</nowiki>
  |1stat    = optional-


== Code ==
  |name              = ShowMe
<div style="background-color: #aaa;width:90%; {{round corners}};padding:1em;">
  |desc              = This template produces a box which shows the wiki code of a page.
<div style="background-color: #fff;padding:1em;{{border-radius|0.5em}}">
    |desc-de          = Diese Vorlage erzeugt eine Box, die den Wikicode der einbindenen Seite darstellt.
<code style="white-space:pre-wrap;">{{msgnw:ShowMe}}</code>
    |desc-es          = Esta plantilla produce un cuadro que muestra el código wiki de una página.
</div></div>
    |desc-fr          = Ce modèle produit une boîte qui montre le code wiki d'une page.
 
    |desc-ja          = このテンプレートは、ページのwikiコードを表示するボックスを生成します。
== Parameter ==
    |desc-ru          = Этот шаблон создает окно, которое показывает код вики страницы.
<table style="width:80%;margin-left: 1em;border: 0px;border-collapse: collapse;text-align: left;padding: 0.5em 0 0 0;{{box-shadow}}">
    |desc-zh          = 该模板产生一个显示页面的维基代码的框。
<caption style="background-color: #666;{{Border-radius|1em 1em 0 0}}
  |namespace          = template
color: #666;font-family: serif;font-size: 0.4em;
  |usergroup          =  
border: 1px solid #666;padding: 0.5em 0 0 0;>x</caption>
  |placement          =  
<tr style="background-color: #666;
  |example            =  
color: #fff;font-size:1.2em;font-family: serif;
  |example-value      =
border: 1px solid #666;padding: 0.5em 0 0 0;">
  |mustbesubst        =
<th style="width:8%;padding-left:0.5em">Name</th>
  |relieson          =  
<th style="width:60%;" colspan="2">Beschreibung</th>
  |usage-notes        =
<th style="width:25%">Standard</th>
  |shorthand          =
<th style="width:7%">Status</th></tr>
  |setscats          =  
{{Tr-gradient|bott=1}}<td style="font-family: monospace;font-size:1.2em;padding-left:0.5em">1</td>
  |seealso            =  
<td colspan="2">Seitenname</td><td><span class="mw-templatedata-doc-muted" style="color:#777; font-variant:small-caps"><code><nowiki>{{PAGENAME}}</nowiki></code></span></td>
  |type              =  
<td style="padding-right:0.5em">optional</td></tr>
  |i18n-method        = switch
</table></onlyinclude>
  |i18n-desc          =  
{{Vorlagendokumentation/ruler}}
  |i18n-subpage      =  
  |i18n-mediawiki-msg =  
  |print              =  
}}

Latest revision as of 07:48, 18 January 2018

This template produces a box which shows the wiki code of a page.

Usage

{{ShowMe}}

Template parameters

ParameterDescriptionDefaultStatus
1Page nameName of the page to show{{PAGENAME}}optional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: no user group specified

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.