Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Caption: Difference between revisions

Template page
(long overdue template for image captions)
 
m (formatting (removed unneeded line break))
 
Line 1: Line 1:
<includeonly>{{#set:Caption={{{text|{{{4|}}}}}}{{#if:{{{artist|{{{1|}}}}}}{{{title|{{{2|}}}}}}{{{note|{{{3|}}}}}}|<br>}}<b>{{{title|{{{2|}}}}}}</b> {{{artist|{{{1|}}}}}}. <i>{{{note|{{{3|}}}}}}</i>}}</includeonly><noinclude>
<includeonly>{{#set:Caption={{{text|{{{4|}}}}}}{{#if:{{{text|}}}{{{4|}}}|{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{artist|}}}{{{title|}}}{{{note|}}}|<br>}}}}<b>{{{title|{{{2|}}}}}}</b> {{{artist|{{{1|}}}}}}. <i>{{{note|{{{3|}}}}}}</i>}}</includeonly><noinclude>
A template to help with adding captions to images.
A template to help with adding captions to images.


Line 8: Line 8:
{{Caption
{{Caption
|artist=MORI Toshimichi
|artist=MORI Toshimichi
|title=Image title.
|title=Image title, if any. (Put the year for birthday art)
|note=This is a note from Mori-P about this image.
|note=This is a note from Mori-P about this image.
|text=This is text on the image.
|text=This is text on the image.

Latest revision as of 18:44, 3 April 2021

A template to help with adding captions to images.

Usage

{{Caption|artist=|title=|note=|text=}}

{{Caption
|artist=MORI Toshimichi
|title=Image title, if any. (Put the year for birthday art)
|note=This is a note from Mori-P about this image.
|text=This is text on the image.
}}