Template:Argument: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(new class names: paradigm relation truth)
No edit summary
Line 1: Line 1:
<span class="argument" id="{{{id}}}"><font id="{{{id}}}" class="relation" color={{#switch: {{{relat1|relevant comment}}}
<span class="argument" id="{{{id}}}"><font class="relation" color={{#switch: {{{relat1|relevant comment}}}
|relevant attack = red
|relevant attack = red
|relevant defense = green
|relevant defense = green
Line 12: Line 12:
|irrelevant comment = ----
|irrelevant comment = ----
|
|
}}</big></big>'''{{{id}}}''': </font><font id="{{{id}}}" class="truth" color={{#switch: {{{truth1|true}}} {{{relat1|relevant comment}}}
}}</big></big>'''{{{id}}}''': </font><font class="truth" color={{#switch: {{{truth1|true}}} {{{relat1|relevant comment}}}
|true relevant attack = red
|true relevant attack = red
|true relevant defense = green
|true relevant defense = green
Line 20: Line 20:
|true irrelevant comment = blue
|true irrelevant comment = blue
|gray
|gray
}}><font class="content">{{{content}}}</font></font> (type: <i class="type">{{{type|both}}}</i>, paradigm: <i id="{{{id}}}" class="paradigm">{{{parad1|science}}}</i>) <small class="sign">{{{sign}}}</small>{{#if:{{{parad2|}}}|<font id="{{{id}}}" class="relation" color={{#switch: {{{relat2|{{{relat1}}}}}}
}}><font class="content">{{{content}}}</font></font> (type: <i class="type">{{{type|both}}}</i>, paradigm: <i id="{{{id}}}" class="paradigm">{{{parad1|science}}}</i>) <small class="sign">{{{sign}}}</small>{{#if:{{{parad2|}}}|<font class="relation" color={{#switch: {{{relat2|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defense = green
|relevant defense = green
Line 33: Line 33:
|irrelevant comment = ----
|irrelevant comment = ----
|
|
}}</big></big><font id="{{{id}}}" class="truth" {{#ifeq: {{{truth2|{{{truth1}}}}}}|true||color=gray}}
}}</big></big><font class="truth" color={{#switch: {{{truth2|truth1}}} {{{relat2|relat1}}}
><i id="{{{id}}}" class="paradigm">{{{parad2|}}}</i></font></font>|}}{{#if:{{{parad3|}}}|<font id="{{{id}}}" class="relation" color={{#switch: {{{relat3|{{{relat1}}}}}}
|true relevant attack = red
|true relevant defense = green
|true relevant comment = blue
|true irrelevant attack = red
|true irrelevant defense = green
|true irrelevant comment = blue
|gray
}}><i id="{{{id}}}" class="paradigm">{{{parad2|}}}</i></font></font>|}}{{#if:{{{parad3|}}}|<font class="relation" color={{#switch: {{{relat3|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defense = green
|relevant defense = green
Line 47: Line 54:
|irrelevant comment = ----
|irrelevant comment = ----
|
|
}}</big></big><font id="{{{id}}}" class="truth" {{#ifeq: {{{truth3|{{{truth1}}}}}}|true||color=gray}}
}}</big></big><font class="truth" color={{#switch: {{{truth3|truth1}}} {{{relat3|relat1}}}
><i id="{{{id}}}" class="paradigm">{{{parad3|}}}</i></font></font>|}}{{#if:{{{parad4|}}}|<font id="{{{id}}}" class="relation" color={{#switch: {{{relat4|{{{relat1}}}}}}
|true relevant attack = red
|true relevant defense = green
|true relevant comment = blue
|true irrelevant attack = red
|true irrelevant defense = green
|true irrelevant comment = blue
|gray
}}><i id="{{{id}}}" class="paradigm">{{{parad3|}}}</i></font></font>|}}{{#if:{{{parad4|}}}|<font class="relation" color={{#switch: {{{relat4|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defense = green
|relevant defense = green
Line 61: Line 75:
|irrelevant comment = ----
|irrelevant comment = ----
|
|
}}</big></big><font id="{{{id}}}" class="truth" {{#ifeq: {{{truth4|{{{truth1}}}}}}|true||color=gray}}
}}</big></big><font class="truth" color={{#switch: {{{truth4|truth1}}} {{{relat4|relat1}}}
><i id="{{{id}}}" class="paradigm">{{{parad4|}}}</i></font></font>|}}{{#if:{{{parad5|}}}|<font id="{{{id}}}" class="relation" color={{#switch: {{{relat5|{{{relat1}}}}}}
|true relevant attack = red
|true relevant defense = green
|true relevant comment = blue
|true irrelevant attack = red
|true irrelevant defense = green
|true irrelevant comment = blue
|gray
}}><i id="{{{id}}}" class="paradigm">{{{parad4|}}}</i></font></font>|}}{{#if:{{{parad5|}}}|<font class="relation" color={{#switch: {{{relat5|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defense = green
|relevant defense = green
Line 75: Line 96:
|irrelevant comment = ----
|irrelevant comment = ----
|
|
}}</big></big><font id="{{{id}}}" class="truth" {{#ifeq: {{{truth5|{{{truth1}}}}}}|true||color=gray}}
}}</big></big><font class="truth" color={{#switch: {{{truth5|truth1}}} {{{relat5|relat1}}}
><i id="{{{id}}}" class="paradigm">{{{parad5|}}}</i></font></font>|}}</span><noinclude>
|true relevant attack = red
|true relevant defense = green
|true relevant comment = blue
|true irrelevant attack = red
|true irrelevant defense = green
|true irrelevant comment = blue
|gray
}}><i id="{{{id}}}" class="paradigm">{{{parad5|}}}</i></font></font>|}}</span><noinclude>


'''Template:Argument''' aims to replace all argument templates so that it would be generic and could express any argument relation, including several paradigms. Usage:
'''Template:Argument''' aims to replace all argument templates so that it would be generic and could express any argument relation, including several paradigms. Usage:

Revision as of 07:33, 14 July 2018

----{{{id}}}: {{{content}}} (type: both, paradigm: science) {{{sign}}}

Template:Argument aims to replace all argument templates so that it would be generic and could express any argument relation, including several paradigms. Usage:

{{argument
| id = identifier of the argument, unique on this page, default: current time in HH:MM
| content = content of the argument
| sign = signature of the speaker, default: --~~~~
| type = type of the relation to the target argument, i.e. what is attacked or defended. Either truth or relevance.
| parad1 = main paradigm used to derive the relation between this argument and its target. This is used to format the argument.
| relat1 = relation type between the argument and its target according to the first paradigm: it has two words separated by a single space. The first is either relevant or irrelevant and the second either attack, defense, or comment.
| true1 = truthlikeness of the argument according to the first paragism: either true or untrue.
| parad2 = the second paradigm used.
| relat2 = the second relation type according to paradigm2. Default: relat1
| true2 = the second truthlikeness according to paradigm2. Default: true1
| parad3 etc. up to parad5 in this wiki
}}

This syntax is used for discussions and arguments. It DOES solve the problem of identifying the thread, i.e. the argument to which an argument points to.