Jump to content
Main menu
Main menu
move to sidebar
hide
Discord
Discord
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Guidelines & Policy
Community Rules
Wiki Staff
Manual of Style
Syntax and Formatting
Images Policy
Editing Guides
Language Guides
Recent changes
rc-skeleton
Characters
Anima
Eidos
NPCs
More...
The World
Planes
Nexus
Novarchs
Sovereigns
Sundering
Game Systems
Aspect
Trait
Nexus Battle
Abilities
Loading Screens
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Editing
Template
:
Transclude/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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}}{{DISPLAYTITLE:{{PAGENAME}}}}<!-- SOME TRANSCLUSIONS INCLUDE PAGE TITLE CHANGE --> Used to Transclude articles and sections of articles by using the parser tags <code><nowiki>{{#lsth:}}</nowiki></code> and <code><nowiki>{{#lst:}}</nowiki></code>. Any attempt at invalid transclusion will add the article to [[:Category:Pages with Invalid Transclusions]]. For the transclusion of repeated name sections, include {{F|1=lua=1}} to use [[Module:Transclude]] instead of the aforementioned parser functions. A tracking category will be added to the page if some specific section is transcluded, which can be one of the following: * Dialogue: [[:Category:Pages Transcluding Dialogue]] * Other Languages: [[:Category:Pages Transcluding Other Languages]] * Trivia: [[:Category:Pages Transcluding Trivia]] ==Syntax== ;Header Section Transclusion {{T|Transclude|v1=page name|v2=section name}} ;[[mw:Extension:Labeled Section Transclusion|Labeled Section]] Transclusion {{T|Transclude|v1=page name|v2=section name|v3=section=1}} ==Examples== ;Default Transclude {{T|Transclude|Nanafey|Description|_Ybr_=1}} ---- ;Transclude with main link {{T|Transclude|Trait|Known Traits|main=1|_Ybr_=1}} ---- ;Transclude before first heading with link {{T|Transclude|Blaster|main=1|_Ybr_=1}} ---- ;Transclude section with main, label, and link to top {{T|Transclude|Kiana|Introduction|section=1|main=1|label=Animaster|top=1|_Ybr_=1}} ==Advanced Usage== Template and module code can detect whether they are being transcluded by this template by checking the value of <code><nowiki>{{#var:transclude}}</nowiki></code>. ===From template code=== <syntaxhighlight lang="wikitext"> {{#ifeq:{{#var:transclude}}|1|I'm being transcluded!|I'm not being transcluded.}} </syntaxhighlight> ===From module code=== <syntaxhighlight lang="lua"> if tonumber(frame:callParserFunction('#var:transclude', '') or '0') == 1 then -- special logic for transclusions end </syntaxhighlight> ''Example implementation: [[Module:Shop]]'' ==Template Data== <templatedata> { "params": { "1": { "aliases": [ "page" ], "label": "Page", "description": "Page Name", "type": "string", "required": true }, "2": { "aliases": [ "heading" ], "label": "Heading", "description": "Heading Name", "type": "string", "suggested": true }, "main": { "label": "Show Main Link", "description": "Set to 1 to use {{Main}}", "type": "boolean", "suggested": true }, "label": { "label": "Main Label", "description": "Label of the Main Link", "type": "string" }, "top": { "label": "Link to Top", "description": "Set to 1 to set Main Link to Top of Page", "type": "boolean" }, "section": { "label": "Use Section", "description": "Set to 1 to use {{#lst:}}", "type": "boolean" }, "lua": { "label": "Repeated Section", "description": "Include to allow the transclusion of repeated named sections by utilizing the module version instead of the parser function", "type": "boolean" } }, "description": "Used Transclude articles and sections of articles.", "paramOrder": [ "1", "2", "section", "main", "label", "top", "lua" ], "format": "inline" } </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:
Blaster
(
edit
)
Kiana
(
edit
)
Nanafey
(
edit
)
Trait
(
edit
)
Template:Array
(
edit
)
Template:Documentation/Header
(
edit
)
Template:Exists
(
edit
)
Template:F
(
view source
) (fully protected)
Template:Lead/Trait
(
edit
)
Template:Main
(
edit
)
Template:Namespace
(
edit
)
Template:Section Index
(
view source
)
Template:T
(
view source
) (fully protected)
Template:Terminology Infobox
(
edit
)
Template:Transclude
(
edit
)
Module:Arguments
(
view source
) (fully protected)
Module:Arguments/i18n
(
view source
) (fully protected)
Module:Array
(
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:Hatnote
(
view source
) (fully protected)
Module:Hatnote/i18n
(
edit
)
Module:I18n
(
view source
) (fully protected)
Module:Languages
(
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)
This page is a member of 2 hidden categories:
Category:Pages Using DPL Parser Function
Category:Pages using DynamicPageList4
Search
Search
Editing
Template
:
Transclude/doc
Add topic