Template:BackgroundCite/doc: Difference between revisions
Jump to navigation
Jump to search
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> |
Revision as of 02:56, 30 November 2024
Usage
This template can be used to reference character backgrounds.
{{BackgroundCite|name=hero_name|quote=quote}}
There's an optional parameter to change the possessive suffix.
Example usages
Example:
{{BackgroundCite|name=Lash|quote=Jacob Lash is an asshole.}}
Result:
Lash's background - "Jacob Lash is an asshole."
Example of suffix change:
{{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.}}
Result:
Abrams' background - "Hard hitting, hard headed, and hard drinking; Detective Abrams has been a fixture on the New York investigating scene for years."
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the character being cited | String | required |
suffix | suffix | Possessive suffix change for characters whose name ends with 's' | String | optional |
quote | quote | The relevant passage (without quotation marks) | String | required |