Template:Dump: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(added multiquote functionality)
m (→‎Usage: clarified doc)
Line 11: Line 11:


==Usage==
==Usage==
{{Usage|dump|quote|ldelim{{=}}|qdelim{{=}}}}
{{Usage|dump|quote}}
{{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 "<br>", 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|Delimiter between quotes if more than one quote is specified.|optional|[space]}}
{{Usage/Param|qdelim|For multiple quotes, a delimiter can be passed to this named parameter.|optional|[space]}}


To find the quote ID, find the desired quote in the text dump (see {{Catlink|Text Dumps}}) and hover over the tooltip ({{Tt|like this}}) at the beginning of the quote.
To find the quote ID, find the desired quote in the text dump (see {{Catlink|Text Dumps}}) and hover over the tooltip ({{Tt|like this}}) at the beginning of the quote.