Diferencia entre revisiones de «Plantilla:Row/image+artist»
Ir a la navegación
Ir a la búsqueda
m (tweaks) |
m (Restore changes by User:Sira overwritten by database update) |
||
Línea 6: | Línea 6: | ||
</noinclude> |
</noinclude> |
||
|- |
|- |
||
− | | colspan=2 style='text-align: center;' | [[ |
+ | | colspan=2 style='text-align: center;' | [[Archivo:{{{1}}}|{{{width|200px}}}]]<!-- |
ATTRIBUTION: |
ATTRIBUTION: |
||
-->{{#if:{{{no-artist|}}}<!-- |
-->{{#if:{{{no-artist|}}}<!-- |
||
-->|<!-- |
-->|<!-- |
||
− | -->|<div class="attribution"> |
+ | -->|<div class="attribution">por <includeonly><page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=?}}" /></includeonly><noinclude>@artist</noinclude></div><!-- |
-->}} |
-->}} |
||
|- |
|- |
Revisión actual del 20:31 6 ene 2022
An image row | |
---|---|
[[Archivo:{{{1}}}|200px]] por @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 attribution property like the |tracer=
, pass an |attribute=
argument to this template: |attribute=tracer
. If the File page has no artist or |attribute=
set, it will show {{missing artist}}
warning. To hide the artist attribution, pass |no-artist=y
. To change the row-width pass |width=
(which defaults to 200px).
As this template is usually included within the parent {{infobox}}
definition, those templates will have to support the passing of the arguments needed.