Difference between revisions of "Template:PFilmsUnpack/doc"

From Ephemeral Film Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} == See Also == * {{Purge}} == Template Data ==")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
== Notes ==
=== Replace ===
Even if the replacement term is a space, an empty string is used. This is a side-effect of the MediaWiki parser. To use a space as the replacement term, put it in nowiki tags.
* Example: <pre class="jjrPre"><nowiki>{{#replace:My_little_home_page|_|<nowiki> </nowiki>}}</nowiki></pre> returns My little home page.
* If this doesn't work, try <pre class="jjrPre"><nowiki>{{#replace:My_little_home_page|_|<nowiki/> <nowiki/>}}</nowiki></pre> with two self-closing tags.
== See Also ==
== See Also ==
* {{Purge}}
* {{Purge}}
* [[Template:Personjr]]
== Template Data ==
== Template Data ==
<templatedata>
{
"params": {
"films": {
"label": "List of Films",
"description": "comma separated ",
"example": "Gifts+of+the+Sun",
"type": "string",
"required": true
}
}
}
</templatedata>
[[Category:Filmjr Helper Tpls]]

Latest revision as of 17:42, 26 February 2022

- - -

There is a documentation subpage housing the metadata about parent template: PFilmsUnpack.


Notes

Replace

Even if the replacement term is a space, an empty string is used. This is a side-effect of the MediaWiki parser. To use a space as the replacement term, put it in nowiki tags.

  • Example:
    {{#replace:My_little_home_page|_|<nowiki> }}</nowiki>
    returns My little home page.
  • If this doesn't work, try
    {{#replace:My_little_home_page|_|<nowiki/> <nowiki/>}}
    with two self-closing tags.

See Also

Template Data

No description.

Template parameters

ParameterDescriptionTypeStatus
List of Filmsfilms

comma separated

Example
Gifts+of+the+Sun
Stringrequired