Template:sp: Difference between revisions

Content added Content deleted
mNo edit summary
No edit summary
Line 1: Line 1:
{{#if:{{{2|}}}|
{{#if:{{{2|}}}|
<ruby>
<ruby>
<span class="sitelen-pona" {{#if:{{{font|}}}|style="font-family:{{{font}}};"}}>
<span class="sitelen-pona">
{{tok|{{#if:{{{font|}}}|<span style='font-family:{{{font}}};'>{{{1}}}</span>|{{{1}}}}}}}
{{tok|{{{1}}}}}
</span>
</span>
<rp>(</rp><rt>{{tok|{{{2}}}}}</rt><rp>)</rp>
<rp>(</rp><rt>{{tok|{{{2}}}}}</rt><rp>)</rp>
Line 29: Line 29:
"font": {
"font": {
"label": "Font family",
"label": "Font family",
"description": "CSS font-family syntax. Only use when needed to demonstrate a feature from a specific font. Otherwise, users should be able to set their own default sitelen pona font through personal CSS.",
"description": "CSS font-family syntax (double quotes). Only use when needed to demonstrate a feature from a specific font. Otherwise, users should be able to set their own default sitelen pona font through personal CSS.",
"type": "string"
"type": "string"
}
}