Home
Random
Log in
Settings
About the Petit Planet Wiki
Search
Editing
Template
:
Neighbor Stories/Image
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<includeonly>[[File:{{{image|{{{1|}}}}}}.{{{ext|png}}}|class=neighbor-story-image|{{{position|{{{2|left}}}}}}|{{{size|{{{3|128}}}}}}{{{unit|px}}}]]</includeonly><noinclude>{{Documentation|type=Design|content= {{CSS|Template:Neighbor Stories/styles}} Template that formats images for {{T|Neighbor Stories}}. ==Syntax== <syntaxhighlight lang="wikitext" copy> {{Neighbor Stories/Image}} </syntaxhighlight> This template has up to 3 unnamed parameters: * {{F|1}} / {{F|image}} – Story image. * {{F|2}} / {{F|position}} – Position of the story image. Default: {{F|left}}. * {{F|3}} / {{F|size}} – Size of the story image {{Color|Old|excluding}} the length unit. Default: {{F|128}}. * {{F|ext}} – Extension of the image. Default: {{F|png}}. * {{F|unit}} – Length unit of the size. Default: {{F|px}}. ==Example== {{Example|<nowiki> {{Neighbor Stories/Image|Nerina Stars at Just the Right Warmth Image 01|left}} </nowiki>}} {{Clr}} {{Example|<nowiki> {{Neighbor Stories/Image|Nerina Stars at Just the Right Warmth Image 01|right}} </nowiki>}} {{Clr}} {{Example|<nowiki> {{Neighbor Stories/Image|Nerina Stars at Just the Right Warmth Image 01|center|200}} </nowiki>}} ==Template Data== <templatedata> { "params": { "1": { "aliases": [ "image" ], "label": "Image", "description": "Story image.", "type": "wiki-file-name", "required": true }, "2": { "aliases": [ "position" ], "label": "Position", "description": "Position of the story image.", "example": "left, right, center", "type": "string", "default": "left", "suggested": true }, "3": { "aliases": [ "size" ], "label": "Size", "description": "Size of the story image.", "example": "64, 200", "type": "number", "default": "128" }, "ext": { "label": "Extension", "description": "Extension of the image.", "example": "jpg, svg", "type": "string", "default": "png" }, "unit": { "label": "Unit", "description": "Length unit of the size.", "example": "em, rem", "type": "string", "default": "px" } }, "description": "Template that formats images for Template:Neighbor Stories." } </templatedata> <templatestyles src="Template:Neighbor Stories/styles.css" /> }}</noinclude>
Summary:
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Petit Planet Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Below are commonly used wikitext from
MediaWiki:Edittools
. Click on any to insert them in the edit box.
File Pages
==Summary==
==Licensing==
{{Fairuse}}
{{File|}}
Dynamic Page List
¦
²
«
»
²{¦}²
«»
«/»
«!----»
Array in DPL
¹
^2{
}^2
^2{¹}^2
Parser Functions
{{#if:||}}
{{#if:<condition>|<result if true>|<result if false>}}
{{#ifeq:|||}}
{{#ifeq:<text1>|<text2>|<result if text1=text2>|<result if text1≠text2>}}
{{#expr:}}
{{#expr:<mathematical expression>}}
{{#switch:||#default=}}
{{#switch:<text1>|<text2>=<result if text1=text2>|<text3>=<result if text1=text3>|#default=<result if no valid match>}}
{{#replace:||}}
{{#replace:<text1>|<plain text to find in text1>|<plain text to insert in place of the text found>}}
{{#titleparts:}}
{{#replace:<page name>}}
{{#tag:|}}
{{#tag:<name of html tag>|<content inside html tag>}}
Markup
{{}}
|
[]
[[]]
[[Category:]]
#REDIRECT [[]] [[Category:Redirect Pages]]
<code></code>
<includeonly></includeonly>
<noinclude></noinclude>
<nowiki></nowiki>
<!---->
<br>
§
Notices
{{Stub|}}
{{Stub Dialogue}}
{{Upcoming}}
{{Under Construction}}
{{Placeholder|}}
Magic Words
{{!}}
{{formatnum:}}
{{lc:}}
{{uc:}}
{{PAGENAME}}
{{FULLPAGENAME}}
{{ROOTPAGENAME}}
{{BASEPAGENAME}}
{{SUBPAGENAME}}
{{DISPLAYTITLE:|noreplace}}
__TOC__
__NOTOC__
__EXPECTUNUSEDCATEGORY__
__HIDDENCAT__
HTML Entities
—
,
­
Pages included on this page:
Template:CSS
(
edit
)
Template:Clr
(
edit
)
Template:Color
(
edit
)
Template:Documentation
(
edit
)
Template:Example
(
edit
)
Template:F
(
edit
)
Template:MessageBox
(
edit
)
Template:Neighbor Stories/Image
(
edit
)
Template:Neighbor Stories/styles.css
(
edit
)
Template:T
(
edit
)
Template:TOC Right
(
edit
)
Module:Arguments
(
edit
)
Module:Arguments/i18n
(
edit
)
Module:Color
(
edit
)
Module:Common/i18n
(
edit
)
Module:Config
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/i18n
(
edit
)
Module:Entrypoint
(
edit
)
Module:Example
(
edit
)
Module:Exists
(
edit
)
Module:Fallbacklist
(
edit
)
Module:Feature
(
edit
)
Module:Formatting
(
edit
)
Module:I18n
(
edit
)
Module:Languages
(
edit
)
Module:Mbox
(
edit
)
Module:Mbox/i18n
(
edit
)
Module:TableTools
(
edit
)
Module:Yesno
(
edit
)
This page is a member of 2 hidden categories:
Category:Pages using DynamicPageList4 parser function
Category:Pages using DynamicPageList4