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

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(Created a metatemplate for the double pipe character.)
 
(For use in userboxes.)
 
Line 1: Line 1:
<includeonly>|</includeonly><noinclude>This is an auxiliary template allowing "||" 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.
+
For use in userboxes.
 
+
This template can be used to parse tables in templates as a shortcut to using <nowiki>{{!}}</nowiki> twice. For example, the table:
+
<pre>
+
{| some table
+
|- some row
+
| some cell || some cell
+
|}
+
</pre>
+
Can be coded as:
+
<pre>
+
{{sometemplate|someparameter={
+
    {{!}} some table
+
    {{!}}- some row
+
    {{!}} some cell {{!!}} some cell
+
  |}
+
}}
+
</pre>
+
[[Category:Metatemplates]]
+
</noinclude>
+

Latest revision as of 11:41, 10 December 2014

For use in userboxes.