Template:SideBarPic/doc

From Moegirlpedia
< Template:SideBarPic
Revision as of 03:36, 16 August 2017 by Varxo (talk | contribs) (Port from zhmgp)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template was set to keep mobile users from affected when reading articles with substituted sidebar pictures.

How to use

Simply copy the contents below and paste it into the article you wish to use it in.

{{SideBarPic
|url=
}}

Explanation:

{{SideBarPic
|url=The name of the picture (can be internal or external pictures. No "File:" prefix is needed for the former.)
|align=Alignment of the picture (top/bottom, defaulted to bottom)
|bottom=The distance between the picture and the bottom/top frame.(Optional, defaulted to 0px, units available in % or in px.)
|left=The distance between the picture and the left frame.(Optional, defaulted to -3px. Units available in % or px.)
|width=Width of the picture. (optional. Defaulted to auto. Units available in % or in px.)
}}

The url parameter can be abbreviated as simply the first parameter like:

{{SideBarPic|Miliu.png}}

NOTES

CAUTION: This template is invalid if no picture is provided.

※ Put this template at the bottom of the page (instead of the top), to avoid being shared as a supplementary picture of the article.

※ Please put this template above the==External links==

Others