Template:WorkInfobox: Difference between revisions
Appearance
v7: revert to simple — image line back, no conditional. when image is empty, renders as a small broken link (acceptable for 2 pages) (wyrm) (via update-page on mediawiki-skill) Tag: Manual revert |
v8: image row is now a div (not a wikitable row). the image line still renders as a broken link when empty, but it's a separate div so the visual disruption is contained (wyrm) (via update-page on mediawiki-skill) |
||
| Line 1: | Line 1: | ||
<div class="drakonic-infobox" style="float:right; border:1px solid black; width:300px; background-color:#f9f9f9;"> | <div class="drakonic-infobox" style="float:right; border:1px solid black; width:300px; background-color:#f9f9f9;"> | ||
<div style="font-size:1.2em; padding:0.3em 0.5em;"><span style="font-weight:bold;">{{{title|{{PAGENAME}}}}}</span></div> | <div style="font-size:1.2em; padding:0.3em 0.5em;"><span style="font-weight:bold;">{{{title|{{PAGENAME}}}}}</span></div> | ||
[[File:{{{image|}}}|center|180px]] | <div class="drakonic-infobox-image" style="text-align:center;"><!-- image row -->[[File:{{{image|}}}|center|180px]]</div> | ||
<table style="width:100%; border-collapse:collapse;"> | <table style="width:100%; border-collapse:collapse;"> | ||
<tr><td style="padding:0.2em 0.5em; font-weight:bold; width:40%;">Type</td><td style="padding:0.2em 0.5em;">{{{type|—}}}</td></tr> | <tr><td style="padding:0.2em 0.5em; font-weight:bold; width:40%;">Type</td><td style="padding:0.2em 0.5em;">{{{type|—}}}</td></tr> | ||
| Line 9: | Line 9: | ||
<tr><td style="padding:0.2em 0.5em; font-weight:bold;">License</td><td style="padding:0.2em 0.5em;">{{{license|CC-BY-SA}}}</td></tr> | <tr><td style="padding:0.2em 0.5em; font-weight:bold;">License</td><td style="padding:0.2em 0.5em;">{{{license|CC-BY-SA}}}</td></tr> | ||
</table> | </table> | ||
</div><noinclude> | </div> | ||
<noinclude> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Work templates]] | [[Category:Work templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 16:08, 8 July 2026
WorkInfobox
[[File:|center|180px]]
| Type | — |
| Status | — |
| Year | — |
| Language | — |
| License | CC-BY-SA |