Template:BackgroundCite/doc: Difference between revisions
Gammaton32 (talk | contribs) Created page with "==Usage== This template can be used to reference character backgrounds. <nowiki>{{BackgroundCite|name=hero_name|transcription=transcription}}</nowiki> There's an optional parameter to change the possessive suffix. ==Example usages== Example: <nowiki>{{BackgroundCite|name=Lash|transcription=Jacob Lash is an asshole.}}</nowiki> Result: {{BackgroundCite|name=Lash|transcription=Jacob Lash is an asshole.}} Example of suffix change: <nowiki>{{BackgroundCite|name=Abrams..." |
Gammaton32 (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
This template can be used to reference character backgrounds. | This template can be used to reference character backgrounds. | ||
<nowiki>{{BackgroundCite|name=hero_name| | <nowiki>{{BackgroundCite|name=hero_name|quote=quote}}</nowiki> | ||
There's an optional parameter to change the possessive suffix. | There's an optional parameter to change the possessive suffix. | ||
Line 8: | Line 8: | ||
==Example usages== | ==Example usages== | ||
Example: | Example: | ||
<nowiki>{{BackgroundCite|name=Lash| | <nowiki>{{BackgroundCite|name=Lash|quote=Jacob Lash is an asshole.}}</nowiki> | ||
Result: | Result: | ||
{{BackgroundCite|name=Lash| | {{BackgroundCite|name=Lash|quote=Jacob Lash is an asshole.}} | ||
Example of suffix change: | Example of suffix change: | ||
<nowiki>{{BackgroundCite|name=Abrams|suffix='| | <nowiki>{{BackgroundCite|name=Abrams|suffix='|quote=Hard hitting, hard headed, and hard drinking; Detective Abrams has been a fixture on the New York investigating scene for years.}}</nowiki> | ||
Result: | Result: | ||
{{BackgroundCite|name=Abrams|suffix='| | {{BackgroundCite|name=Abrams|suffix='|quote=Hard hitting, hard headed, and hard drinking; Detective Abrams has been a fixture on the New York investigating scene for years.}} | ||
<templatedata> | <templatedata> | ||
Line 33: | Line 33: | ||
"required": false | "required": false | ||
}, | }, | ||
" | "quote": { | ||
"type": "string", | "type": "string", | ||
"description": "The relevant passage", | "description": "The relevant passage (without quotation marks)", | ||
"required": true | "required": true | ||
} | } | ||
Line 43: | Line 43: | ||
"name", | "name", | ||
"suffix", | "suffix", | ||
" | "quote" | ||
] | ] | ||
} | } | ||
</templatedata><noinclude>[[Category:Template documentation]]</noinclude> | </templatedata><noinclude>[[Category:Template documentation]]</noinclude> |