Home
Random
Log in
Settings
About the Honkai: Nexus Anima Wiki
Disclaimers
Search
Editing
Template
:
Item/doc
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
{{Documentation/Header}} {{Lua}} This template creates an icon and link for a given [[Item]]. ==Syntax== {{T|Item|v1=item name|v2=optional size}} ==Parameter List== * {{F|1}} or {{F|name}} — Name of the item. Defaults to {{F|Unknown}}. * {{F|2}} or {{F|size}} — Size of the image in pixels. Defaults to {{F|30}}. * {{F|x}} or {{F|count}} — The amount of the item. * {{F|link}} — Page to link to. Defaults to the item name * {{F|text}} — Text to display. Defaults to the item name. * {{F|notext}} — Set to "1" to omit text. * {{F|type}} — Type of the item. Defaults to {{F|Item}}. * {{F|newline}} — Set to "1" to display text on a new line. * {{F|ref}} — Reference to append to the entire content. * {{F|comma}} — Append a comma to the item text following AmE rules. * {{F|dot}} — Append a dot to the item text following AmE rules. * {{F|commaspc}} — Append a comma and a space to the item text following AmE rules. * {{F|dotspc}} — Append a dot and a space to the item text following AmE rules. ==Examples== ===Parameter #1=== {{T|Item|Popsicle|_Y_=1}} ===Parameter #2=== {{T|Item|p1=Popsicle|p2=20|_Y_=1}}<br /> {{T|Item|p1=Popsicle|p2=200|_Y_=1}} ===link=== {{T|Item|p1=Popsicle|p2=link=Food|_Y_=1}} ===text=== {{T|Item|p1=Popsicle|p2=text=Not Popsicles|_Y_=1}} ===notext=== {{T|Item|p1=Popsicle|p2=notext=1|_Y_=1}} ===x=== {{T|Item|p1=Popsicle|p2=x=5,000|_Y_=1}} ===Ending Punctuation=== {{T|Item|p1=Popsicle|p2=x=5,000|p3=comma=1|_Y_=1}}<br /> {{T|Item|p1=Lucky Star|p2=comma=1|_Y_=1}}<br /> {{T|Item|p1=Lucky Star|p2=note=this is an item|p3=dotspc=1|_Y_=1}} ==Template Data== <templatedata> { "params": { "1": { "aliases": [ "name" ], "label": "Item Name", "description": "Name of the Item", "type": "string", "default": "Unknown", "required": true }, "2": { "aliases": [ "size" ], "label": "Image Size", "description": "Size of the image, in pixels", "example": "40", "type": "string", "default": "30" }, "x": { "aliases": [ "count" ], "label": "Amount", "description": "Amount of the item", "example": "120,000", "type": "number", "suggested": true }, "link": { "label": "Page Link", "description": "Page to link to, if different from the item. Defaults to the item name.", "type": "string" }, "text": { "label": "Text", "description": "Text to display. Defaults to the item name.", "type": "string" }, "notext": { "label": "No Text", "description": "Set to \"1\" to omit text after the item image", "type": "boolean" }, "type": { "label": "Type", "description": "Type of the item, for items that do not use the \"Item\" prefix", "type": "string", "default": "Item" }, "white": {}, "newline": { "type": "boolean", "label": "New Line", "description": "Set to \"1\" to display text on a new line." } }, "format": "inline", "description": "Creates an icon and link for a given Item.", "paramOrder": [ "1", "2", "x", "link", "text", "notext", "type", "white", "newline" ] } </templatedata>
Summary:
Please note that all contributions to Honkai: Nexus Anima Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Honkai Nexus Anima 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.
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 Image|}}
Magic Words
:
{{!}}
{{formatnum:}}
{{lc:}}
{{uc:}}
{{PAGENAME}}
{{FULLPAGENAME}}
{{ROOTPAGENAME}}
{{BASEPAGENAME}}
{{SUBPAGENAME}}
{{DISPLAYTITLE:|noreplace}}
__TOC__
__NOTOC__
__EXPECTUNUSEDCATEGORY__
__HIDDENCAT__
References:
<ref></ref>
{{Reflist}}
{{Ref/Arti|}}
{{Ref/ArtiSet|}}
{{Ref/BB|}}
{{Ref/Book|}}
{{Ref/CS|}}
{{Ref/Companion|}}
{{Ref/Domain|}}
{{Ref/Enemy|}}
{{Ref/Food|}}
{{Ref/Furnishing|}}
{{Ref/HEO|}}
{{Ref/Item|}}
{{Ref/Loading|}}
{{Ref/Location|}}
{{Ref/Manga|}}
{{Ref/NPC|}}
{{Ref/Outfit|}}
{{Ref/Quest|}}
{{Ref/Talent|}}
{{Ref/VO|}}
{{Ref/VP|}}
{{Ref/Weapon|}}
{{Ref/Wildlife|}}
HTML Entities:
—
,
­
Pages included on this page:
Template:Documentation/Header
(
edit
)
Template:F
(
view source
) (fully protected)
Template:Item
(
edit
)
Template:Lua
(
edit
)
Template:MessageBox
(
edit
)
Template:Namespace
(
edit
)
Template:T
(
view source
) (fully protected)
Module:Arguments
(
view source
) (fully protected)
Module:Arguments/i18n
(
view source
) (fully protected)
Module:Common/i18n
(
view source
) (fully protected)
Module:Config
(
view source
) (fully protected)
Module:Documentation
(
view source
) (fully protected)
Module:Documentation/config
(
view source
) (fully protected)
Module:Documentation/i18n
(
view source
) (fully protected)
Module:Entrypoint
(
view source
) (fully protected)
Module:Exists
(
view source
) (fully protected)
Module:Fallbacklist
(
view source
) (fully protected)
Module:Feature
(
view source
) (fully protected)
Module:Formatting
(
view source
) (fully protected)
Module:I18n
(
view source
) (fully protected)
Module:Item
(
edit
)
Module:Languages
(
view source
) (fully protected)
Module:Mbox
(
view source
) (fully protected)
Module:Mbox/i18n
(
view source
) (fully protected)
Module:Namespace detect
(
view source
) (fully protected)
Module:Namespace detect/config
(
view source
) (fully protected)
Module:Namespace detect/data
(
view source
) (fully protected)
Module:TableTools
(
view source
) (fully protected)
Module:Yesno
(
view source
) (fully protected)