Template:Document Comments: Difference between revisions
m removed initial blank line |
Better formatting for 3+ comments |
||
Line 2: | Line 2: | ||
{| style="border-left:1px solid black; padding-left: 5px; margin-left: 20px;" | {| style="border-left:1px solid black; padding-left: 5px; margin-left: 20px;" | ||
|- | |- | ||
| style=" | | style="font-weight:bold; " | {{{author1}}} | ||
|- | |- | ||
| style=" | | style="" | {{{comment1}}} | ||
|- style="font-weight:bold; {{#if:{{{author2|}}}||display:none}}" | |||
| {{{author2}}} | |||
|- style="{{#if:{{{comment2|}}}||display:none}}" | |||
| {{{comment2}}} | |||
|- style="font-weight:bold; {{#if:{{{author3|}}}||display:none}}" | |||
| {{{author3}}} | |||
}}{{ | |- style="{{#if:{{{comment3|}}}||display:none}}" | ||
| {{{comment3}}} | |||
|- style="font-weight:bold; {{#if:{{{author4|}}}||display:none}}" | |||
| {{{author4}}} | |||
|- style="{{#if:{{{comment4|}}}||display:none}}" | |||
| {{{comment4}}} | |||
}}{{ | |- style="font-weight:bold; {{#if:{{{author5|}}}||display:none}}" | ||
| {{{author5}}} | |||
|- style="{{#if:{{{comment5|}}}||display:none}}" | |||
| {{{comment5}}} | |||
|- style="font-weight:bold; {{#if:{{{author6|}}}||display:none}}" | |||
| {{{author6}}} | |||
}}{{ | |- style="{{#if:{{{comment6|}}}||display:none}}" | ||
| {{{comment6}}} | |||
}} | |||
}} | |||
|} | |} | ||
<noinclude>== Usage == | <noinclude>== Usage == | ||
Line 52: | Line 41: | ||
|author2=Cat | |author2=Cat | ||
|comment2=Bye | |comment2=Bye | ||
}} | |||
Three comments: | |||
{{Document Comments | |||
|author1=Dog | |||
|comment1=Hello | |||
|author2=Cat | |||
|comment2=Bye | |||
|author3=Human | |||
|comment3=What? | |||
}} | }} | ||
Revision as of 02:20, 23 November 2023
Comments
{{{author1}}} |
{{{comment1}}} |
Usage
Example with one comment:
Comments
Dog |
Hello |
Two comments:
Comments
Dog |
Hello |
Cat |
Bye |
Three comments:
Comments
Dog |
Hello |
Cat |
Bye |
Human |
What? |
The in-universe comments section on a TTP2 document, including the header. (Max 6 comments)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Author 1 | author1 | Author of first comment. Sometimes this is text like "(failed to load profile)". For hex strings, use the format {{HexString|7468656d|them}}. | String | required |
Comment 1 | comment1 | First comment. Sometimes this is text like "(failed to load comment)". For hex strings, use the format {{HexString|7468656d|them}}. | String | required |
Author 2 | author2 | 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. | String | suggested |
Comment 2 | comment2 | 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. | String | suggested |
Author 3 | author3 | no description | String | optional |
Comment 3 | comment3 | no description | String | optional |
Author 4 | author4 | no description | String | optional |
Comment 4 | comment4 | no description | String | optional |
Author 5 | author5 | no description | String | optional |
Comment 5 | comment5 | no description | String | optional |
Author 6 | author6 | no description | String | optional |
Comment 6 | comment6 | no description | String | optional |