24,070
edits
(adding caption option) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| | ||
| | | | ||
{|class=wood | {|class=wood style="max-width:{{#if: {{{2|}}}|{{{2|}}}|200px}}" | ||
![[File:{{{1}}}|{{#if: {{{2|}}}|{{{2|}}}|200px}}]] | ![[File:{{{1}}}|{{#if: {{{2|}}}|{{{2|}}}|200px}}]] | ||
|}{{#if: {{{CAPTION|}}}|<center><small>{{{CAPTION|}}}</small></center>|}} | |}{{#if: {{{CAPTION|}}}|<center><small>{{{CAPTION|}}}</small></center>|}} | ||
Line 22: | Line 22: | ||
To add a caption, just add a CAPTION= variable. | To add a caption, just add a CAPTION= variable. | ||
<pre>{{Frame|GarudaCrew2391.png|500px|CAPTION=Inaugural Senior Staff of the USS Garuda}}</pre> | <pre style="white-space:pre-wrap">{{Frame|GarudaCrew2391.png|500px|CAPTION=Inaugural Senior Staff of the USS Garuda}}</pre> | ||
{{Frame|GarudaCrew2391.png|500px|CAPTION=Inaugural Senior Staff of the USS Garuda}} | {{Frame|GarudaCrew2391.png|500px|CAPTION=Inaugural Senior Staff of the USS Garuda}} | ||
You can use wiki code and other templates within the caption. | |||
<pre style="white-space:pre-wrap">{{Frame|GarudaCrew2391.png|500px|CAPTION='''Inaugural Senior Staff of the {{USS|Garuda}}'''}}</pre> | |||
{{Frame|GarudaCrew2391.png|500px|CAPTION='''Inaugural Senior Staff of the {{USS|Garuda}}'''}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |