Vorlage:File other: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(Creating this image/other template. It is way over-engineered but that makes it fully compatible with the other namespace detection templates.)
 
K (9 Versionen von wpen:Template:File_other importiert)
 
(12 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 3: Zeile 3:
   {{#if:{{{demospace|}}}  
   {{#if:{{{demospace|}}}  
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
   | {{#ifeq:{{NAMESPACE}}|Image
   | {{#ifeq:{{NAMESPACE}}|{{ns:6}}
     | image
     | file
     | other
     | other
     }}  
     }}  
   }}
   }}
<!--If any parameter, then don't return the "image/other" strings-->
| file
| image    = {{#if:{{{1|}}}{{{2|}}} | {{{1|}}} | image }}
| image    = {{{1|}}}
| other
| other
| #default = {{#if:{{{1|}}}{{{2|}}} | {{{2|}}} | other }}
| #default = {{{2|}}}
 
}}<!--End switch--><noinclude>
}}<!--End switch--><noinclude>


<!-- {{pp-template|small=yes}} -->
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Aktuelle Version vom 13. Januar 2023, 03:57 Uhr


Template-info.png Dokumentation für die Vorlage {{File other}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Für die Vorlage {{File other}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise