Vorlage:Information: Unterschied zwischen den Versionen

Aus Stadtwiki Freital
Wechseln zu: Navigation, Suche
(Der Seiteninhalt wurde durch einen anderen Text ersetzt: „|Example Template=TITLE |Name=TEXT!MUST!Please enter the name here |Status=PICK!MUST!Status of the page!alpha;beta;released |Logo=TE…“)
Zeile 1: Zeile 1:
<div class="hproduct commons-file-information-table">
+
|Example Template=TITLE
<table class="toccolours vevent mw-content-{{Dir|{{int:lang}}}}" style="width: 100%; direction: {{Dir|{{int:lang}}}};" cellpadding="4">
+
|Name=TEXT!MUST!Please enter the name here
 
+
|Status=PICK!MUST!Status of the page!alpha;beta;released
<!-- Description -->
+
|Logo=TEXT!!Pleas use the Logo-Template here
<tr style="vertical-align: top">
+
|Author=TEXT!!If you know him, enter the Author
<td id="fileinfotpl_desc" class="fileinfo-paramfield">{{int:wm-license-information-description}}<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td>
+
<td class="description">
+
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
+
</td>
+
</tr>
+
 
+
<!-- Other fields 1 -->
+
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
+
 
+
<!-- Date -->
+
<tr style="vertical-align: top">
+
<td id="fileinfotpl_date" class="fileinfo-paramfield">{{int:wm-license-information-date}}</td>
+
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
+
</tr>
+
 
+
<!-- Source -->
+
<tr style="vertical-align: top">
+
<td id="fileinfotpl_src" class="fileinfo-paramfield">{{int:wm-license-information-source}}</td>
+
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{Parse source|{{{source|{{{Source|}}} }}} }} | {{Source missing}} }}</td>
+
</tr>
+
 
+
<!-- Author -->
+
<tr style="vertical-align: top">
+
<td id="fileinfotpl_aut" class="fileinfo-paramfield">{{int:wm-license-information-author}}</td>
+
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{Information/author processing|author={{{author|{{{Author|}}} }}}}} | {{Author missing}} }}</td>
+
</tr>
+
 
+
<!-- Permission -->
+
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
+
<tr style="vertical-align: top">
+
<td id="fileinfotpl_perm" class="fileinfo-paramfield">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
+
<td>
+
{{{permission|{{{Permission|}}} }}}
+
</td>
+
</tr>
+
}}
+
 
+
<!-- Other versions -->
+
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
+
=
+
| - =
+
| none =
+
| #default =
+
<tr style="vertical-align: top">
+
<td id="fileinfotpl_ver" class="fileinfo-paramfield">{{int:wm-license-information-other-versions}}</td>
+
<td>
+
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
+
</td>
+
</tr>
+
}}
+
 
+
<!-- Other fields -->
+
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}
+
 
+
</table>
+
</div><!--
+
Parameter maintenance
+
-->{{#switch:{{NAMESPACENUMBER}}|6|10=
+
{{#invoke:TemplatePar|check
+
|opt=
+
description= Description=
+
date= Date=
+
source= Source=
+
author= Author=
+
permission= Permission=
+
other_versions= Other_versions= other versions= Other versions=
+
other_fields= Other_fields= other fields= Other fields=
+
other_fields_1= Other_fields_1= other fields 1= Other fields 1=
+
demo=
+
1=<!--tracked below separately-->
+
|cat= Pages using Information template with incorrect parameter
+
|template= [[Template:Information]]
+
}}
+
{{#if:{{{1|}}}|<span style="color:red">Syntax error in [[Template:Information]]: “{{{1}}}”</span>[[Category:Pages using Information template with syntax errors]]}}
+
}}
+

Version vom 17. August 2014, 16:11 Uhr

|Example Template=TITLE |Name=TEXT!MUST!Please enter the name here |Status=PICK!MUST!Status of the page!alpha;beta;released |Logo=TEXT!!Pleas use the Logo-Template here |Author=TEXT!!If you know him, enter the Author