Template:Document Comments: Difference between revisions
m TemplateData |
m Each comment is one table row with a <br> |
||
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;" | ||
|- | |- | ||
| | | '''{{{author1}}}'''<br/>{{{comment1}}} | ||
|- style="{{#if: {{{author2|}}} | {{#if: {{{comment2|}}} | | display:none; }} | display:none; }}" | |||
| '''{{{author2}}}'''<br/>{{{comment2}}} | |||
|- style=" | |- style="{{#if: {{{author3|}}} | {{#if: {{{comment3|}}} | | display:none; }} | display:none; }}" | ||
| '''{{{author3}}}'''<br/>{{{comment3}}} | |||
|- style="{{#if: {{{author4|}}} | {{#if: {{{comment4|}}} | | display:none; }} | display:none; }}" | |||
| {{{comment2}}} | | '''{{{author4}}}'''<br/>{{{comment4}}} | ||
|- style=" | |- style="{{#if: {{{author5|}}} | {{#if: {{{comment5|}}} | | display:none; }} | display:none; }}" | ||
| '''{{{author5}}}'''<br/>{{{comment5}}} | |||
|- style="{{#if: {{{author6|}}} | {{#if: {{{comment6|}}} | | display:none; }} | display:none; }}" | |||
| {{{comment3}}} | | '''{{{author6}}}'''<br/>{{{comment6}}} | ||
|- style=" | |||
| {{{comment4}}} | |||
|- style=" | |||
| | |||
| {{{comment5}}} | |||
|- style=" | |||
| {{{comment6}}} | |||
|} | |} | ||
<noinclude>== Usage == | <noinclude>== Usage == |
Revision as of 04:07, 24 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 | Optional. Check the boxes for Author 3 and Comment 3, etc., if the document has more than two comments. | String | suggested |
Comment 2 | comment2 | Optional. 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 |