Template:ConvoCite/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Created page with "==Usage== This template can be used to reference conversations. It links to the conversation page of the first hero. Quotations are optional. <nowiki>{{ConvoCite|hero1=First hero|hero2=Second hero}}</nowiki> (Note: Unlike Template:VoiceLineCite, the quotations aren't pre-formatted, allowing for more flexibility by the editor. This might be changed in the future) ==Example usages== Example: <nowiki>{{ConvoCite|hero1=Abrams|hero2=Dynamo}}</nowiki> Result: {{ConvoC..."
 
parameters
Line 18: Line 18:
{{ConvoCite|hero1=Abrams|hero2=Dynamo|quote='''Abrams:''' ''"Stay close to me Professor, I'll keep you safe."''}}
{{ConvoCite|hero1=Abrams|hero2=Dynamo|quote='''Abrams:''' ''"Stay close to me Professor, I'll keep you safe."''}}


<noinclude>[[Category:Template documentation]]</noinclude>
<templatedata>
{
"params": {
"hero1": {
            "type": "string",
"description": "Name of the first hero and the one it will be linked to",
"required": true
},
        "hero2": {
            "type": "string",
            "description": "Name of the second hero",
            "required": true
        },
        "quote": {
            "type": "string",
            "description": "Transcription of the relevant quote (formatting - bold, italics etc. - needs to be included)",
            "required": false
        }
},
"format": "inline",
    "paramOrder": [
"hero1",
        "hero2",
        "quote"
]
}
</templatedata><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 18:54, 11 September 2025

Usage

This template can be used to reference conversations. It links to the conversation page of the first hero. Quotations are optional.

{{ConvoCite|hero1=First hero|hero2=Second hero}}

(Note: Unlike Template:VoiceLineCite, the quotations aren't pre-formatted, allowing for more flexibility by the editor. This might be changed in the future)

Example usages

Example:

{{ConvoCite|hero1=Abrams|hero2=Dynamo}}

Result:

Abrams And Dynamo Conversation

With quotation:

{{ConvoCite|hero1=Abrams|hero2=Dynamo|quote='''Abrams:''' ''"Stay close to me Professor, I'll keep you safe."''}}

Result:

Abrams And Dynamo Conversation

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
hero1hero1

Name of the first hero and the one it will be linked to

Stringrequired
hero2hero2

Name of the second hero

Stringrequired
quotequote

Transcription of the relevant quote (formatting - bold, italics etc. - needs to be included)

Stringoptional