Benutzer Diskussion:H2m2/testtabelle: Unterschied zwischen den Versionen

Aus chessmail Wiki @novasign.ch
Zur Navigation springen Zur Suche springen
K
K
Zeile 14: Zeile 14:
 
* {{{{{|subst:}}}PAGENAME}}
 
* {{{{{|subst:}}}PAGENAME}}
 
----
 
----
{{t2}}
+
<nowiki>{{t2}}</nowiki><br>
 
Example: m:Template:t2, containing<br>
 
Example: m:Template:t2, containing<br>
 
<nowiki>start-{{{1}}}-middle-{{{2}}}-end</nowiki><br>
 
<nowiki>start-{{{1}}}-middle-{{{2}}}-end</nowiki><br>

Version vom 6. August 2017, 16:51 Uhr


mmmTemplate := {{{value|novalue}}}


  • {{mmmTemplate|value=Wert}} → Wert
  • {{mmmTemplate|value=}} →
  • {{mmmTemplate|value}} → novalue
  • {{mmmTemplate|valuu=}} → novalue
  • {{mmmTemplate|valuu}} → novalue
  • {{mmmTemplate}} → novalue

  • {{subst:PAGENAME}}
  • {{subst:PAGENAME}}

{{t2}}
Example: m:Template:t2, containing
start-{{{1}}}-middle-{{{2}}}-end
and called as
{{subst:t2|[[a]]|{{tc}}}}
start-a-middle-tha new template-end (see tha new template) gives the wikitext:
start-a-middle-tha new template-end, rendering as start-a-middle-in-end.