Template:font: Difference between revisions
Content added Content deleted
Jan Ke Tami (talk | contribs) (template metadata) |
Jan Ke Tami (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{!}}colspan="2" style="text-align:center;"{{!}}<div style="font-size:larger;font-weight:bold;">{{{1}}}</div>{{#if:{{{image|}}}| |
{{!}}colspan="2" style="text-align:center;"{{!}}<div style="font-size:larger;font-weight:bold;">{{{1}}}</div>{{#if:{{{image|}}}| |
||
[[File:{{{image}}}{{!}}center{{!}}240x240px{{!}}]]}}{{{caption|}}} |
[[File:{{{image}}}{{!}}center{{!}}240x240px{{!}}]]}}{{{caption|}}} |
||
{{#if:{{{alias|}}}|{{!}}- |
|||
!style="font-size:smaller;text-align:start;width:80px;"{{!}}Alternate names |
|||
{{!}}{{{alias}}}}} |
|||
{{#if:{{{range|}}}|{{!}}- |
{{#if:{{{range|}}}|{{!}}- |
||
!style="font-size:smaller;text-align:start;width:80px;"{{!}}Supported characters |
!style="font-size:smaller;text-align:start;width:80px;"{{!}}Supported characters |
||
Line 23: | Line 26: | ||
!style="font-size:smaller;text-align:start;width:80px;"{{!}}First publication |
!style="font-size:smaller;text-align:start;width:80px;"{{!}}First publication |
||
{{!}}{{{start}}}}} |
{{!}}{{{start}}}}} |
||
|}</includeonly><noinclude>{{font|font name|author=font creator|feature=Features|system=Writing system|style=handwritten / pixelated / etc|range=Range of characters|license=License name|start=When the font got created|ucsur=yes|ligature=yes|cartouche=yes|long pi=yes|mono=yes|extend=yes|image=Linja_pona.svg|caption=a description such as this: "{{tp|linja pona}}" written in the {{tp|linja pona}} font|compact=yes}} |
|}</includeonly><noinclude>{{font|font name|author=font creator|feature=Features|system=Writing system|style=handwritten / pixelated / etc|range=Range of characters|license=License name|start=When the font got created|ucsur=yes|ligature=yes|cartouche=yes|long pi=yes|mono=yes|extend=yes|image=Linja_pona.svg|caption=a description such as this: "{{tp|linja pona}}" written in the {{tp|linja pona}} font|compact=yes|alias=name the font is also known as}} |
||
===TemplateData=== |
===TemplateData=== |
||
<templatedata> |
<templatedata> |
||
Line 123: | Line 126: | ||
"description": "When enabled, the box will show only the name, the image and the caption at first. It can still be expanded to view the full content.", |
"description": "When enabled, the box will show only the name, the image and the caption at first. It can still be expanded to view the full content.", |
||
"type": "boolean" |
"type": "boolean" |
||
}, |
|||
"alias": { |
|||
"label": "alternate names", |
|||
"description": "If the name got published multiple times, it may have had different names", |
|||
"type": "string" |
|||
} |
} |
||
}, |
}, |