Template:ConvoCite/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) parameters |
Gammaton32 (talk | contribs) updated |
||
| Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
This template can be used to reference conversations. It links to the conversation page of the first hero. | This template can be used to reference conversations. It links to the conversation page of the first hero. Conversation number and quotations can be added. | ||
<nowiki>{{ConvoCite|hero1=First hero|hero2=Second hero}}</nowiki> | <nowiki>{{ConvoCite|hero1=First hero|hero2=Second hero}}</nowiki> | ||
==Example usages== | ==Example usages== | ||
Example: | Example: | ||
| Line 12: | Line 11: | ||
{{ConvoCite|hero1=Abrams|hero2=Dynamo}} | {{ConvoCite|hero1=Abrams|hero2=Dynamo}} | ||
With | With number: | ||
<nowiki>{{ConvoCite|hero1=Abrams|hero2=Dynamo| | <nowiki>{{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2}}</nowiki> | ||
Result: | Result: | ||
{{ConvoCite|hero1=Abrams|hero2=Dynamo| | {{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2}} | ||
With one quotation: | |||
<nowiki>{{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2|hero_quote1=Abrams|quote1=Stay close to me Professor, I'll keep you safe.}}</nowiki> | |||
Result: | |||
{{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2|hero_quote1=Abrams|quote1=Stay close to me Professor, I'll keep you safe.}} | |||
With two quotations: | |||
<nowiki>{{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2|hero_quote1=Abrams|quote1=Stay close to me Professor, I'll keep you safe.|hero_quote2=Dynamo|quote2=Detective, I was about to say the same thing to you.}}</nowiki> | |||
Result: | |||
{{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2|hero_quote1=Abrams|quote1=Stay close to me Professor, I'll keep you safe.|hero_quote2=Dynamo|quote2=Detective, I was about to say the same thing to you.}} | |||
<templatedata> | <templatedata> | ||
| Line 31: | Line 42: | ||
"required": true | "required": true | ||
}, | }, | ||
"quote": { | "number": { | ||
"type": "number", | |||
"description": "Number of the conversation (1-3)", | |||
"required": false | |||
}, | |||
"hero_quote1": { | |||
"type": "string", | |||
"description": "Hero that the quote belongs to", | |||
"required": false | |||
}, | |||
"quote1": { | |||
"type": "string", | |||
"description": "Transcription of the relevant quote", | |||
"required": false | |||
}, | |||
"hero_quote2": { | |||
"type": "string", | |||
"description": "Hero that the 2nd quote belongs to", | |||
"required": false | |||
}, | |||
"quote2": { | |||
"type": "string", | "type": "string", | ||
"description": "Transcription of the relevant quote | "description": "Transcription of the 2nd relevant quote", | ||
"required": false | "required": false | ||
} | } | ||
| Line 41: | Line 72: | ||
"hero1", | "hero1", | ||
"hero2", | "hero2", | ||
" | "number", | ||
"hero_quote1", | |||
"quote1", | |||
"hero_quote2", | |||
"quote2" | |||
] | ] | ||
} | } | ||
</templatedata><noinclude>[[Category:Template documentation]]</noinclude> | </templatedata><noinclude>[[Category:Template documentation]]</noinclude> | ||