Template:BelleImageBox: Difference between revisions

From Victory Belles Community Wiki
Jump to navigation Jump to search
m (Protected "Template:BelleImageBox": Prevent editing of templates ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox>
{| class="infobox"  
  <image source="belle_image"><default>[[File:{{PAGENAME}}.jpg|thumb|center]]</default></image>
|-
  <image source="belle_chibi"><default>[[File:{{PAGENAME}}-chibi.jpg|thumb|center]]</default></image>
| {{{belle_image}}}
</infobox>
|-
| {{{belle_chibi}}}
|}
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 20:09, 16 May 2023

{{{belle_image}}}
{{{belle_chibi}}}


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:BelleImageBox/doc to edit this documentation. (How does this work?)

Description[edit source]

To use this template, copy the following code and place it at the top of a page that's being worked on.

{{BelleImageBox}}

The default behavior assumes files exist matching the following sequence:

{{PAGENAME}}.jpg
{{PAGENAME}}-chibi.jpg

If the Belle's image(s) are not named in this fashion, and/or if the file extension is not jpg, customize it as shown below.

Advanced Syntax[edit source]

{{BelleImageBox
 | belle_image=
 | belle_chibi=
}}

Example[edit source]

This code in which one file is jpg and the other is png...

{{BelleImageBox
 | belle_image=Kirov.jpg
 | belle_chibi=Kirov-chibi.png
}}

...yields this result.

Kirov.jpg
Kirov-chibi.png