Template:BelleImageBox: Difference between revisions

From Victory Belles Community Wiki
Jump to navigation Jump to search
(Created page with "<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> </infobox> <noinclude> {{documentation}} Category:Template </noinclude>")
 
m (Protected "Template:BelleImageBox": Prevent editing of templates ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 11:02, 30 April 2023

<infobox>

<image source="belle_image"><default>

</default></image> <image source="belle_chibi"><default>

</default></image>

</infobox>


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. <infobox>

<image source="belle_image"><default></default></image> <image source="belle_chibi"><default></default></image>

</infobox>