Template:Dump: Difference between revisions

Want an adless experience? Log in or Create an account.
m
Text replacement - "<br>" to "<br/>"
(updated doc)
m (Text replacement - "<br>" to "<br/>")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{#if:{{{3|}}}|{{FIXME|Template:Dump was given an argument that it no longer accepts: {{{3}}}}}}}{{#vardefine:usedelim|}}{{#if: {{#explode:{{{2|}}}|\|1}}
<onlyinclude>{{#vardefine:usedelim|}}{{#if: {{#explode:{{{2|}}}|\|1}}
| {{#vardefine:ctr|-1}}{{#while: | {{#vardefineecho:slashquote|{{#explode:{{{2|}}}|\|{{++|ctr}}}}}}
| {{#vardefine:ctr|-1}}{{#while: | {{#vardefineecho:slashquote|{{#explode:{{{2|}}}|\|{{++|ctr}}}}}}
   | {{#if: {{#explode:{{#var:slashquote}}|-|1}}
   | {{#if: {{#explode:{{#var:slashquote}}|-|1}}
Line 25: Line 25:
{{Usage/Param|dump|A game abbreviation serving as a keyword to select from which dump to pull the quote.}}
{{Usage/Param|dump|A game abbreviation serving as a keyword to select from which dump to pull the quote.}}
{{Usage/Param|quote|The quote's ID which can be found on the dump page.}}
{{Usage/Param|quote|The quote's ID which can be found on the dump page.}}
{{Usage/Param|ldelim|If "<nowiki>ldelim=<br></nowiki>" is provided, newlines will be preserved as they appear in the game. Otherwise the text will appear on one line.|optional|[space]}}
{{Usage/Param|ldelim|If "<nowiki>ldelim=<br/></nowiki>" is provided, newlines will be preserved as they appear in the game. Otherwise the text will appear on one line.|optional|[space]}}
{{Usage/Param|qdelim|For multiple quotes, a delimiter can be passed to this named parameter.|optional|[space]}}
{{Usage/Param|qdelim|For multiple quotes, a delimiter can be passed to this named parameter.|optional|[space]}}