Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:Transclusion
(section)
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!
=== Subpages === [[Wikipedia:Subpages|Subpages]], identifiable by a <code>/</code> prefixed in their page names, are pages related to a 'parent' page (e.g., <code>Namespace:Pagename/Subpagename</code> is a subpage of <code>Namespace:Pagename</code>). This feature is disabled in the Main, File, and MediaWiki namespaces, but not on their corresponding talk namespaces. To transclude subpages: * In general, use <syntaxhighlight lang="wikitext" inline>{{Namespace:Pagename/Subpagename}}</syntaxhighlight>. With exception: ** On the parent page of a subpage, the more specific general syntax mentioned above can be used or simply <syntaxhighlight lang="wikitext" inline>{{/Subpagename}}</syntaxhighlight>. ** For a template namespace page, it is either the general syntax or <syntaxhighlight lang="wikitext" inline>{{Pagename/Subpagename}}</syntaxhighlight>. ** Article subpages are disabled on this wiki, but would otherwise be <syntaxhighlight lang="wikitext" inline>{{:Pagename/Subpagename}}</syntaxhighlight>. * Alternatively, you can also use {{Section link|Help:Transclusion|Template parameters|nopage=y}} and {{Section link|Help:Transclusion|Transclusion modifiers|nopage=y}}. For example, to transclude {{Xtn|[[Template:Like/doc]]}}, you could use <syntaxhighlight lang="wikitext" inline>{{Template:Like/doc}}</syntaxhighlight> or <syntaxhighlight lang="wikitext" inline>{{Like/doc}}</syntaxhighlight>. Note that subpage names are case sensitive, and <syntaxhighlight lang="wikitext" inline>{{Like/Doc}}</syntaxhighlight> would lead to a different page.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)