Template:ConvoCite/doc: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) mNo edit summary |
updated doc |
||
| (One intermediate revision by one other user not shown) | |||
| Line 28: | Line 28: | ||
{{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.}} | {{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.}} | ||
With alternative name | |||
<nowiki>{{ConvoCite|hero1=Abrams|hero2=Dynamo|l1=Atlas|l2=Prof|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|l1=Atlas|l2=Prof|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.}} | |||
With prefix (puts word "Conversation" at the start of the sentence which is mostly used for localization) | |||
<nowiki>{{ConvoCite|hero1=Abrams|hero2=Dynamo|prefix=1|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|prefix=1|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 66: | Line 78: | ||
"description": "Transcription of the 2nd relevant quote", | "description": "Transcription of the 2nd relevant quote", | ||
"required": false | "required": false | ||
}, | |||
"hero_quote3": { | |||
"type": "string", | |||
"description": "Hero that the 3rd quote belongs to", | |||
"required": false | |||
}, | |||
"quote3": { | |||
"type": "string", | |||
"description": "Transcription of the 3rd relevant quote", | |||
"required": false | |||
}, | |||
"prefix": { | |||
"description": "Put word Conversation at the start of the sentence", | |||
"type": "boolean" | |||
}, | |||
"l1": { | |||
"description": "Alternative name of the first hero", | |||
"type": "string" | |||
}, | |||
"l2": { | |||
"description": "Alternative name of the second hero", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
| Line 76: | Line 110: | ||
"quote1", | "quote1", | ||
"hero_quote2", | "hero_quote2", | ||
"quote2" | "quote2", | ||
"hero_quote3", | |||
"quote3", | |||
"prefix", | |||
"l1", | |||
"l2" | |||
] | ] | ||
} | } | ||
</templatedata><noinclude>[[Category:Template documentation]]</noinclude> | </templatedata><noinclude>[[Category:Template documentation]]</noinclude> | ||