User:King of Herdaz/Gallery template
WIP of a template that automatically generates artist attributions in galleries like {{image}}
does.
<includeonly><!-- -->[[file:<!-- FILE: --> {{{1}}}<!-- STYLE:-->|thumb|{{{side|center}}}|{{#if:{{{height|}}}|x{{{height}}}|{{{width|100px}}}|}}<!-- -->|<!-- ARTIST: --><div class="attribution">by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=an unknown artist}}" /></div><!-- CAPTION: --> {{#if:{{{2|}}}|{{{2}}}|}} <!-- LINK: -->{{#if:{{{link|}}}|{{!}}link={{{link}}}}}<!-- -->]]</includeonly><noinclude>