Difference between revisions of "Template:Row/image+artist"
Jump to navigation
Jump to search
(try this) |
m (tweak no-value error to be a ? marker) |
||
Line 8: | Line 8: | ||
-->{{#if:{{{no-artist|}}}<!-- |
-->{{#if:{{{no-artist|}}}<!-- |
||
-->|<!-- |
-->|<!-- |
||
− | -->|<br><small>by <includeonly><page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist}}" /></includeonly><noinclude>@artist</noinclude></small><!-- |
+ | -->|<br><small>by <includeonly><page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=?}}" /></includeonly><noinclude>@artist</noinclude></small><!-- |
-->}} |
-->}} |
||
|- |
|- |
Revision as of 18:39, 19 June 2018
A image row | |
---|---|
[[File:{{{1}}}|200px]] by @artist |
This template should be used on {{infobox}}
templates, to include a infobox-spanning image row. It also includes a subheading to attribute the art to the creator by pulling from the {{art|artist=}}
property on the File page. To attribute to a different row in {{art}}
like the {{{tracer}}}, pass an {{{attribute}}} argument to this template: {{Row/image+artist|attribute=tracer}}
. If the File page has no artist or {{{attribute}}} set, it will show {{missing artist}}
warning. To hide the artist attribution, pass {{Row/image+artist|no-artist=y}}
. To change the row-width pass {{{width}}} (which defaults to 200px).