Difference between pages "Template:!-" and "File:diaspora.png"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(Created a metatemplate for the pipe and dash character combo for table rows.)
 
m (Added CC-BY-SA-3.0 license to this image.)
 
Line 1: Line 1:
<includeonly>|-</includeonly><noinclude>
+
{{CC-BY-SA-3.0|This work, "diaspora.png", is a derivative of "[https://pod.geraspora.de/images/gerasporaStar.png gerasporaStar.png]" by [https://pod.geraspora.de/ Geraspora team], used under CC-BY-SA. "diaspora.png" is licensed under CC-BY-SA by [[User:Augur_.|<font color="#703931">'''ᏜᏠᎶᏠᏑ'''</font>]].}}
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.
+
[[Category:Social Media Icons]]
 
+
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>
+
[[Category:Metatemplates]]
+
</noinclude>
+

Latest revision as of 16:11, 23 December 2014

Creative Commons License
Creative Commons Attribution: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). Creative Commons Share Alike: If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
This image is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
You are free to share and remix the file under the conditions that you appropriately attribute it, and that any derivative or transformative works are distributed only under a license identical to this one.
Attribution: This work, "diaspora.png", is a derivative of "gerasporaStar.png" by Geraspora team, used under CC-BY-SA. "diaspora.png" is licensed under CC-BY-SA by ᏜᏠᎶᏠᏑ.