Difference between pages "Template:!" and "File:lca2004-essence-100x100.png"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
m (Added the template documentation, due to missing $wgNamespacesWithSubpages variable.)
 
(For use in userboxes.)
 
Line 1: Line 1:
<includeonly>|</includeonly><noinclude>
+
For use in userboxes.
 
+
This is an auxiliary template allowing the pipe character "|" to be encoded within template parameters. The "|" delimiter for a Wiki table has to be escaped by a template if it's used within a template.
+
 
+
This template can be used to parse tables correctly in templates. For example, the table:
+
<pre>
+
{| some table
+
|- some row
+
| some cell
+
|
+
|}
+
}}
+
</pre>
+
Can be written as:
+
<pre>
+
{{sometemplate|someparameter={
+
    {{!}} some table
+
    {{!}}- some row
+
    {{!}} some cell
+
    {{!}}
+
    {{!}}
+
  }
+
}}
+
</pre></noinclude>
+

Latest revision as of 11:41, 10 December 2014

For use in userboxes.