User:Dave Keenan/sagittal: Difference between revisions

Dave Keenan (talk | contribs)
Made the documentation look more like that for the Bravura template
Dave Keenan (talk | contribs)
No edit summary
Line 285: Line 285:
== Usage notes ==
== Usage notes ==
This template accepts one unnamed argument and two named arguments:
This template accepts one unnamed argument and two named arguments:
# Text in the form of sagitype (the pictorial ASCII code for sagittal symbols).
# Text in the form of sagitype (the pictorial ASCII code for sagittal symbols) representing a single sagittal or related symbol.
# (optional) size = a CSS font-size value; defaults to "250%".
# (optional) size = a CSS font-size value; defaults to "250%".
# (optional) height = a CSS line-height value; defaults to "16px".
# (optional) height = a CSS line-height value; defaults to "16px".
Line 291: Line 291:
==Examples==
==Examples==


<nowiki>{{sagittal| /| }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;">&#xE302;</span>
<nowiki>{{sagittal| /| }}</nowiki> → <span class="bravura" style="font-size:250%; line-height:16px;">&#xE302;</span>
<nowiki>{{sagittal| !) }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;">&#xE305;</span>
 
<nowiki>{{sagittal| !) }}</nowiki> → <span class="bravura" style="font-size:250%; line-height:16px;">&#xE305;</span>


== See also ==
== See also ==