Template:ConvoCite/doc: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) updated |
Gammaton32 (talk | contribs) mNo edit summary |
||
| Line 33: | Line 33: | ||
"params": { | "params": { | ||
"hero1": { | "hero1": { | ||
"type": "string", | |||
"description": "Name of the first hero and the one it will be linked to", | "description": "Name of the first hero and the one it will be linked to", | ||
"required": true | "required": true | ||
}, | }, | ||
"hero2": { | |||
"type": "string", | |||
"description": "Name of the second hero", | |||
"required": true | |||
}, | |||
"number": { | |||
"type": "string", | |||
"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", | |||
"description": "Transcription of the 2nd relevant quote", | |||
"required": false | |||
} | |||
}, | }, | ||
"format": "inline", | "format": "inline", | ||
"paramOrder": [ | |||
"hero1", | "hero1", | ||
"hero2", | |||
"number", | |||
"hero_quote1", | |||
"quote1", | |||
"hero_quote2", | |||
"quote2" | |||
] | ] | ||
} | } | ||
</templatedata><noinclude>[[Category:Template documentation]]</noinclude> | </templatedata><noinclude>[[Category:Template documentation]]</noinclude> | ||
Revision as of 00:47, 12 September 2025
Usage
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.
{{ConvoCite|hero1=First hero|hero2=Second hero}}
Example usages
Example:
{{ConvoCite|hero1=Abrams|hero2=Dynamo}}
Result:
Abrams And Dynamo Conversation
With number:
{{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2}}
Result:
Abrams And Dynamo Conversation 2
With one quotation:
{{ConvoCite|hero1=Abrams|hero2=Dynamo|number=2|hero_quote1=Abrams|quote1=Stay close to me Professor, I'll keep you safe.}}
Result:
Abrams And Dynamo Conversation 2 - "Stay close to me Professor, I'll keep you safe."
With two quotations:
{{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.}}
Result:
Abrams And Dynamo Conversation 2 - "Stay close to me Professor, I'll keep you safe." - "Detective, I was about to say the same thing to you."
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| hero1 | hero1 | Name of the first hero and the one it will be linked to | String | required |
| hero2 | hero2 | Name of the second hero | String | required |
| number | number | Number of the conversation (1-3) | String | optional |
| hero_quote1 | hero_quote1 | Hero that the quote belongs to | String | optional |
| quote1 | quote1 | Transcription of the relevant quote | String | optional |
| hero_quote2 | hero_quote2 | Hero that the 2nd quote belongs to | String | optional |
| quote2 | quote2 | Transcription of the 2nd relevant quote | String | optional |