Editing Template:ConvoCite/doc

Jump to navigation Jump to search
Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
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 45: Line 33:
"params": {
"params": {
"hero1": {
"hero1": {
"type": "string",
            "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": {
        "hero2": {
"type": "string",
            "type": "string",
"description": "Name of the second hero",
            "description": "Name of the second hero",
"required": true
            "required": true
},
        },
"number": {
        "number": {
"type": "string",
            "type": "number",
"description": "Number of the conversation (1-3)",
            "description": "Number of the conversation (1-3)",
"required": false
            "required": false
},
        },
"hero_quote1": {
        "hero_quote1": {
"type": "string",
            "type": "string",
"description": "Hero that the quote belongs to",
            "description": "Hero that the quote belongs to",
"required": false
            "required": false
},
        },
"quote1": {
        "quote1": {
"type": "string",
            "type": "string",
"description": "Transcription of the relevant quote",
            "description": "Transcription of the relevant quote",
"required": false
            "required": false
},
        },
"hero_quote2": {
        "hero_quote2": {
"type": "string",
            "type": "string",
"description": "Hero that the 2nd quote belongs to",
            "description": "Hero that the 2nd quote belongs to",
"required": false
            "required": false
},
        },
"quote2": {
        "quote2": {
"type": "string",
            "type": "string",
"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"
}
},
},
"format": "inline",
"format": "inline",
"paramOrder": [
    "paramOrder": [
"hero1",
"hero1",
"hero2",
        "hero2",
"number",
        "number",
"hero_quote1",
        "hero_quote1",
"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>
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template