Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Unsubst-infobox/doc
(section)
Module
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
Special pages
Page information
Appearance
move to sidebar
hide
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!
== Parameter list == ; $B : The content of the template, as it would be without the module being used. ; $params : A comma-separated list of template parameters, without any aliases. There is a bug when including positional parameters like <code>$params=1</code> in the template and <code><nowiki>{{subst:example|a}}</nowiki></code> in the article where it will be overwritten like <code><nowiki>{{subst:example|a|1=}}</nowiki></code>. ; $aliases : A comma-separated list of parameter replacements, in the format <code>old1>new1,old2>new2</code>. There is a bug when including positional parameters like <code>|$aliases=2>details|$params=details</code> in the template and <code><nowiki>{{subst:example|abc|def|ghi}}</nowiki></code> in the article where there is an inconsistency that causes data to be lost like <code><nowiki>{{subst:example|abc|details=def}}</nowiki></code> ; $set3 : Usually a shorter list of parameters, comma-separated. Replaces $params when all the parameters used in a substitution (ignoring those erroneously absent from $params) are in this list. This might be used if an infobox has multiple parameters that are only applicable to some group of articles. ; $set2 : Conditionally replaces $set3 or $params, whichever was last chosen. Usually bigger than them. ; $set1 : Conditionally replaces $set3, $set2 or $params, whichever was last chosen. Usually bigger than them. ; $extra : A comma-separated list of any parameters listed in $params (or $set1, $set2, or $set3, whichever was chosen) which don't need to be shown after substitution unless they are already being used in the template; i.e. if a parameter is in both lists and is not used or blank in a particular transclusion, then on substitution the parameter will not be displayed. ; $indent : The number of additional spaces before each line. Useful for child infoboxes. ; $flags : A list of comma-separated flags. The only valid input for this parameter at present is "override", which tells the template to supersede the original input to the template with any parameters which are set in the module; i.e. if the template transclusion uses {{para|number|6}} but the module invocation uses {{para|date|7}}, if the module invocation contains <code>override</code> in {{para|$flags}} then the output will be {{para|date|7}} and if it doesn't then the output will be {{para|date|6}}. ; $template-name : May be used to override the default template name. All other parameters are treated as input to the template. If the input value is not blank and the input parameter is a valid parameter of the template, then the value will appear in the post-substitution content if the transclusion's value is blank; if the module invocation contains <code>override</code> in {{para|$flags}} then the value will appear in the post-substitution content regardless of what the transclusion's value is. <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)