Template:Document Comments: Difference between revisions

From The Talos Principle Wiki
Created page with " ==== Comments ==== {| style="border-left:1px solid black; padding-left: 5px; margin-left: 20px;" |- | style="text-align:left; font-weight:bold;" | {{{author1}}} |- | style="text-align:left;" | {{{comment1}}} {{#if: {{{author2|}}} | {{!}}- {{!}} style="text-align:left; font-weight:bold;" {{!}} {{{author2}}} {{!}}- {{!}} style="text-align:left;" {{!}} {{{comment2|}}} | }}{{#if: {{{author3|}}} | {{!}}- {{!}} style="text-align:left; font-weight:bold;" {{!}}..."
 
m TemplateData
Line 62: Line 62:
"label": "Author 1",
"label": "Author 1",
"type": "string",
"type": "string",
"required": true
"required": true,
"description": "Author of first comment. Sometimes this is text like \"(failed to load profile)\". For hex strings, use the format {{HexString|7468656d|them}}."
},
},
"comment1": {
"comment1": {
"label": "Comment 1",
"label": "Comment 1",
"type": "string",
"type": "string",
"required": true
"required": true,
"description": "First comment. Sometimes this is text like \"(failed to load comment)\". For hex strings, use the format {{HexString|7468656d|them}}."
},
},
"author2": {
"author2": {
"label": "Author 2",
"label": "Author 2",
"description": "Uncheck the box for this field if the document has only one comment.",
"description": "Uncheck the box for this field if the document has only one comment. Check the boxes for Author 3 and Comment 3, etc., if the document has more than two comments.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 77: Line 79:
"comment2": {
"comment2": {
"label": "Comment 2",
"label": "Comment 2",
"description": "Uncheck the box for this field if the document has only one comment.",
"description": "Uncheck the box for this field if the document has only one comment. Check the boxes for Author 3 and Comment 3, etc., if the document has more than two comments.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true

Revision as of 02:54, 23 November 2023

Comments

{{{author1}}}
{{{comment1}}}

Usage

Example with one comment:


Comments

Dog
Hello


Two comments:


Comments

Dog
Hello
Cat
Bye


The in-universe comments section on a TTP2 document, including the header. (Max 6 comments)

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Author 1author1

Author of first comment. Sometimes this is text like "(failed to load profile)". For hex strings, use the format {{HexString|7468656d|them}}.

Stringrequired
Comment 1comment1

First comment. Sometimes this is text like "(failed to load comment)". For hex strings, use the format {{HexString|7468656d|them}}.

Stringrequired
Author 2author2

Uncheck the box for this field if the document has only one comment. Check the boxes for Author 3 and Comment 3, etc., if the document has more than two comments.

Stringsuggested
Comment 2comment2

Uncheck the box for this field if the document has only one comment. Check the boxes for Author 3 and Comment 3, etc., if the document has more than two comments.

Stringsuggested
Author 3author3

no description

Stringoptional
Comment 3comment3

no description

Stringoptional
Author 4author4

no description

Stringoptional
Comment 4comment4

no description

Stringoptional
Author 5author5

no description

Stringoptional
Comment 5comment5

no description

Stringoptional
Author 6author6

no description

Stringoptional
Comment 6comment6

no description

Stringoptional