Help:External images

From Moegirlpedia
Revision as of 21:10, 24 February 2023 by LiaMinina (talk | contribs) (Created page with "{{Help}} This help document describes how to use external images in the Moegirlpedia. For images used in articles, please prioritize uploading them to Moegirl Commons to refer...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Commons-emblem-notice.svg
This page, "Help:External images", is a Moegirlpedia help document
  • It is meant to introduce the operating method of some specific functions in Moegirlpedia;
  • This article is merely a statement, not a Moegirlpedia policy or guideline. If there is any conflict or inconsistency between this help document and the relevant policies and guidelines, then the policies and guidelines shall prevail.

This help document describes how to use external images in the Moegirlpedia. For images used in articles, please prioritize uploading them to Moegirl Commons to reference them as internal images.

Reminder: The images in Moegirl Commons will not appear in the Special: link page and cm:Special:GlobalUsage, which may cause some images in use to be mistakenly judged as unused and deleted. If the internal image writing method cannot meet the needs, please try to add hidden image links or use Template:Link into file to ensure internal links on the pages that use external links.

Simple imput

Simply use an external image, you can directly input or paste the picture address into the article (as below).

Simple display of external images

Insert the image address directly in the text to display the image:

https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png

The effect is as follows:

2010-DEC-13MoeGirlWikiLogo.png

When used in this way, do not include URL parameters after the picture.

Help
Magic words/parser functions#Data and parsing of URLs and headers

You can also use {{-{}-filepath:内部图片文件名}} to display the internal image as an external image, such as {{:filepath:2010-DEC-13MoeGirlWikiLogo.png}}

The effect is as follows:

2010-DEC-13MoeGirlWikiLogo.png

Typesetting external images using templates

Main page: Template:Image external link

External images with links

[https://zh.moegirl.org.cn/ https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png]

Note
The format is [<nowiki>'''link address''' (space) ''image address'']</nowiki>

The effect is as follows:

2010-DEC-13MoeGirlWikiLogo.png 2010-DEC-13MoeGirlWikiLogo.png

Annotated external image

Main page: Template:External Image Annotation

There is a template in Moegirlpedia that allows editors to easily add frames to, align, and float external pictures.

The syntax is: {{external image annotation|image address|annotation text|position (right by default)|width=size (400px by default)}}

{{External Image Comments|https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|This is MoeGirlWiki LOGO|Left|Width=150px}}

The effect is as follows:

Template:External Image Comments

Warning: Do not use site images in external image templates.

External Image Gallery

Main page: [[::Template:Gallery|:Template:Gallery]]

Basic input: {{Gallery|title=gallery title|width=maximum width of a single image|height=maximum height of a single image|image 1 address|image 1 title|image 2 address|image 2 title|...}}

Note
If there is no title, only delete the text, do not delete the separating vertical lines.

{{Gallery|title=This is Moegirlpedia's logo|width=150|height=150 |https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|This |https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|is |https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|Moe |https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|girl |https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|pe |https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|dia's |https://img.moegirl.org.cn/common/8/87/2010-DEC-13MoeGirlWikiLogo.png|logo }}

The effect is as follows: