Jump to content

Template:WorkInfobox: Difference between revisions

From DRAKONIC wiki
new template for project/work metadata; named args with positional image fallback; default license CC-BY-SA; mirrors CharacterInfobox structure (wyrm) (via create-page on mediawiki-skill)
 
v2: optional image row (skip if no |image=), optional language row (skip if no |language=) (wyrm) (via update-page on mediawiki-skill)
Line 1: Line 1:
{| class="wikitable" style="float:right; border:1px solid black; width:300px;"
{| class="wikitable" style="float:right; border:1px solid black; width:300px;"
| <span style="font-size:1.2em;">{{{title|{{PAGENAME}}}}}</span>
| <span style="font-size:1.2em;">{{{title|{{PAGENAME}}}}}</span>
|-
{{#if:{{{image|}}}|<noinclude>
| [[File:{{{image|{{{1|}}}}}}|center|180px]]
</noinclude>|-
| [[File:{{{image|}}}|center|180px]]<noinclude>
</noinclude>}}
|-
|-
| '''Type''' || {{{type|—}}}
| '''Type''' || {{{type|—}}}
Line 9: Line 11:
|-
|-
| '''Year''' || {{{year|—}}}
| '''Year''' || {{{year|—}}}
|-
{{#if:{{{language|}}}|<noinclude>
| '''Language''' || {{{language|—}}}
</noinclude>|-
| '''Language''' || {{{language|—}}}<noinclude>
</noinclude>}}
|-
|-
| '''License''' || {{{license|CC-BY-SA}}}
| '''License''' || {{{license|CC-BY-SA}}}

Revision as of 15:07, 8 July 2026

WorkInfobox

{{#if:|

[[File:|center|180px]]

}}

Type
Status
Year

{{#if:|

Language

}}

License CC-BY-SA