Jump to content

Template:Template link general: Difference between revisions

From cernipedia
add "brace", tested with /sandbox and /testcases
add optional parameter "a" which if set to any value displays an asterisk before template code
Line 4: Line 4:
  -->{{#if:{{{kbd|}}}          |<kbd>}}<!--
  -->{{#if:{{{kbd|}}}          |<kbd>}}<!--
  -->{{#if:{{{nowrapname|}}}    |<span class="nowrap">}}<!--
  -->{{#if:{{{nowrapname|}}}    |<span class="nowrap">}}<!--
-->{{#if:{{{a|}}}            |<nowiki>*</nowiki>&nbsp;}}<!--
  -->{{#if:{{{brace|}}}{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!--
  -->{{#if:{{{brace|}}}{{{braceinside|}}} | |<nowiki>{{</nowiki>}}<!--
  -->{{#if:{{{subst|}}}        |[[Help:Substitution|subst]]:}}<!--
  -->{{#if:{{{subst|}}}        |[[Help:Substitution|subst]]:}}<!--

Revision as of 18:31, 23 February 2020