Diferencia entre revisiones de «Plantilla:Row/image+artist»

m
Restore changes by User:Sira overwritten by database update
m (tweak the docs a little)
m (Restore changes by User:Sira overwritten by database update)
 
(No se muestran 2 ediciones intermedias de otro usuario)
{| class="infobox side"
|-
! colspan=2 class=title | AAn image row
|-</noinclude>
|-
|-</noinclude>
| colspan=2 style='text-align: center;' | [[File:{{{1}}}|{{{width|200px}}}]]<!--
|-
| colspan=2 style='text-align: center;' | [[FileArchivo:{{{1}}}|{{{width|200px}}}]]<!--
 
ATTRIBUTION:
-->{{#if:{{{no-artist|}}}<!--
-->|<!--
-->|<br><smalldiv class="attribution">bypor <includeonly><page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=?}}" /></includeonly><noinclude>@artist</noinclude></smalldiv><!--
-->}}
|-
<noinclude>[[category: rows|{{SUBPAGENAME}}]]
|}
 
This template should be used on {{t|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 {{t|art|2=artist=}} property on the File page. To attribute to a different attribution property like the <code>|tracer=</code>, pass an <code>|attribute=</code> argument to this template: <code>|attribute=tracer</code>. If the File page has no artist or <code>|attribute=</code> set, it will show {{t|missing artist}} warning. To hide the artist attribution, pass <code>|no-artist=y</code>. To change the row-width pass <code>|width=</code> (which defaults to 200px).
 
As this template is usually included within the parent {{t|infobox}} definition, itthose maytemplates notwill be possiblehave to passsupport inthe somepassing of the attributes withoutarguments needed.
 
[[category: rows|image+artist]]