Difference between revisions of "User:Stargazer/Caption"
Jump to navigation
Jump to search
(+docs) |
m (Remove translation testing) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{notice|style=background-color: #c2c2c2; |
|||
<onlyinclude><small><center>By {{a|{{{1}}}}}</center></small> {{#if:{{{2|}}}|{{{2}}}|}}</onlyinclude> |
|||
|b=This page or section needs to be updated with new information<!-- |
|||
-->{{#if:{{{1|}}}{{{book|}}}| for ''[[{{b|{{{1|{{{book}}}}}}}}|{{b|{{{1|{{{book}}}}}}|text=y}}]]''}}<!-- |
|||
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|, ''[[{{b|{{{2}}}}}|{{b|{{{2}}}|text=y}}]]''| and ''[[{{b|{{{2}}}}}|{{b|{{{2}}}|text=y}}]]''}}}}<!-- |
|||
-->{{#if:{{{3|}}}|{{#if:{{{4|}}}|, ''[[{{b|{{{3}}}}}|{{b|{{{3}}}|text=y}}]]'', and ''[[{{b|{{{4}}}}}|{{b|{{{4}}}|text=y}}]]''|, and ''[[{{b|{{{3}}}}}|{{b|{{{3}}}|text=y}}]]''}}}}<!-- |
|||
-->! |
|||
|Be aware that in its current state, it does not include this additional content yet. |
|||
}}<includeonly><!-- |
|||
-->[[Category: Articles that need updates]]<!-- |
|||
The '''caption''' template is used to easily credit artists and add a caption when a file is used. |
|||
-->{{#if:{{{1|}}}{{{book|}}}|[[Category: Update for {{b|{{{1|{{{book}}}}}}}}]]}}<!-- |
|||
=== Template === |
|||
-->{{#if:{{{2|}}}|[[Category: Update for {{b|{{{2}}}}}]]}}<!-- |
|||
<pre class=mw-code> |
|||
-->{{#if:{{{3|}}}|[[Category: Update for {{b|{{{3}}}}}]]}}<!-- |
|||
{{caption |
|||
-->{{#if:{{{4|}}}|[[Category: Update for {{b|{{{4}}}}}]]}}<!-- |
|||
|1= |
|||
|2= |
|||
}} |
|||
</pre> |
|||
--></includeonly> |
|||
=== Parameters === |
|||
Highlighted lines indicate '''mandatory''' parameters. If not used, they will either appear as "''unknown''" or produce an error. |
|||
{{docs|title={{t|caption}} Parameters}} |
|||
<!-- -------- --> |
|||
<!-- ROW: {{{1}}} --> |
|||
<!-- -------- --> |
|||
{{docs/row/required |
|||
|param=1 |
|||
|desc= Use the first parameter to indicate the name of the artist. This forwards to {{t|a}}, so it should match the name of the artist's [[Coppermind:Artists]] page. |
|||
|eg= |
|||
<code>botanicaxu</code><br /> |
|||
<code>taratjah</code> |
|||
}} |
|||
<!-- -------- --> |
|||
<!-- ROW: {{{w}}} --> |
|||
<!-- -------- --> |
|||
{{docs/row/optional |
|||
|param=2 |
|||
|desc= Use the second parameter to provide a caption. |
|||
|eg= |
|||
<code>Hoid and Frost</code><br /> |
|||
<code>The Stormfather</code><br /> |
|||
}} |