Template:Argument: Difference between revisions

From Opasnet
Jump to navigation Jump to search
No edit summary
(relat without relevance; showrelevance added)
Line 1: Line 1:
<span class="argument" id="{{{id}}}"><font color={{#switch: {{{relat1|relevant comment}}}
<span class="argument" id="{{{id}}}"><font color={{#switch: {{{showrelevance|relevant}}} {{{relat1|comment}}}
|relevant attack = red
|relevant attack = red
|relevant defense = green
|relevant defense = green
Line 6: Line 6:
|relevant branch = purple
|relevant branch = purple
|gray}}
|gray}}
><big><big>{{#switch: {{{relat1|relevant comment}}}
><big><big>{{#switch: {{{relat1|comment}}}
|relevant attack = &#8676;--
|attack = &#8676;--
|irrelevant attack = &#8676;--
|defence = &larr;--
|relevant defense = &larr;--
|comment = ----
|irrelevant defense = &larr;--
|branch = --&rarr;
|relevant defence = &larr;--
|}}</big></big>'''{{{id}}}''': </font><font class="showtruth" color={{#switch: {{{showtruth|true}}} {{{relat1|comment}}}
|irrelevant defence = &larr;--
|true attack = red
|relevant comment = ----
|true defense = green
|irrelevant comment = ----
|true comment = blue
|relevant branch = --&rarr;
|true branch = purple
|irrelevant branch = --&rarr;
|gray}}><em class="title">{{{title|.}}}</em> <font class="content">{{{content}}}</font></font> <small class="sign">{{{sign}}}</small> (type: <i class="type">{{{type|truth}}}</i>; paradigms: <i id="{{{id}}}" class="paradigm">[[science (paradigm)|science]]</i>: <font class="relation" color={{#switch: {{{relat1|comment}}}
|}}</big></big>'''{{{id}}}''': </font><font class="showtruth" color={{#switch: {{{showtruth|true}}} {{{relat1|relevant comment}}}
|attack = red
|true relevant attack = red
|defense = green
|true relevant defense = green
|defence = green
|true relevant comment = blue
|comment = blue
|true relevant branch = purple
|gray}}>{{{relat1|comment}}}</font>{{#if:{{{parad2|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad2|}}} (paradigm)|{{{parad2|}}}]]</i>: <font class="relation" color={{#switch: {{{relat2|{{{relat1}}}}}}
|true irrelevant attack = red
|attack = red
|true irrelevant defense = green
|defense = green
|true irrelevant comment = blue
|defence = green
|true irrelevant branch = purple
|comment = blue
|gray}}><em class="title">{{{title|.}}}</em> <font class="content">{{{content}}}</font></font> <small class="sign">{{{sign}}}</small> (type: <i class="type">{{{type|truth}}}</i>; paradigms: <i id="{{{id}}}" class="paradigm">[[{{{parad1|science}}} (paradigm)|{{{parad1|science}}}]]</i>: <font class="relation" color={{#switch: {{{relat1|relevant comment}}}
|relevant attack = red
|relevant defense = green
|relevant defence = green
|relevant comment = blue
|gray}}>{{{relat1|relevant comment}}}</font>{{#if:{{{parad2|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad2|}}} (paradigm)|{{{parad2|}}}]]</i>: <font class="relation" color={{#switch: {{{relat2|{{{relat1}}}}}}
|relevant attack = red
|relevant defense = green
|relevant defence = green
|relevant comment = blue
|gray}}
|gray}}
>{{{relat2|relat1}}}</font>|}}{{#if:{{{parad3|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad3|}}} (paradigm)|{{{parad3|}}}]]</i>: <font class="relation" color={{#switch: {{{relat3|{{{relat1}}}}}}
>{{{relat2|relat1}}}</font>|}}{{#if:{{{parad3|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad3|}}} (paradigm)|{{{parad3|}}}]]</i>: <font class="relation" color={{#switch: {{{relat3|{{{relat1}}}}}}
|relevant attack = red
|attack = red
|relevant defense = green
|defense = green
|relevant defence = green
|defence = green
|relevant comment = blue
|comment = blue
|gray}}
|gray}}
>{{{relat3|relat1}}}</font>|}}{{#if:{{{parad4|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad4|}}} (paradigm)|{{{parad4|}}}]]</i>: <font class="relation" color={{#switch: {{{relat4|{{{relat1}}}}}}
>{{{relat3|relat1}}}</font>|}}{{#if:{{{parad4|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad4|}}} (paradigm)|{{{parad4|}}}]]</i>: <font class="relation" color={{#switch: {{{relat4|{{{relat1}}}}}}
|relevant attack = red
|attack = red
|relevant defense = green
|defense = green
|relevant defence = green
|defence = green
|relevant comment = blue
|comment = blue
|gray}}
|gray}}
>{{{relat4|relat1}}}</font>|}}{{#if:{{{parad5|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad5|}}} (paradigm)|{{{parad5|}}}]]</i>: <font class="relation" color={{#switch: {{{relat5|{{{relat1}}}}}}
>{{{relat4|relat1}}}</font>|}}{{#if:{{{parad5|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad5|}}} (paradigm)|{{{parad5|}}}]]</i>: <font class="relation" color={{#switch: {{{relat5|{{{relat1}}}}}}
|relevant attack = red
|attack = red
|relevant defense = green
|defense = green
|relevant defence = green
|defence = green
|relevant comment = blue
|comment = blue
|gray}}
|gray}}
>{{{relat5|relat1}}}</font>|}})</span><noinclude>
>{{{relat5|relat1}}}</font>|}})</span><noinclude>


[[op_fi:Malline:Argument]]
[[op_fi:Malline:Argument]]
Line 67: Line 56:
| sign = signature of the speaker, default: --~~~~
| 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. Default: truth.
| type = type of the relation to the target argument, i.e. what is attacked or defended. Either truth or relevance. Default: truth.
| showrelevance = whether the relation arrow is shown with the colour according to its relat1 (assuming that it is relevant) or gray (assuming that it is irrelevant). Default: relevant. Note: This value cannot be derived from information within the argument, as it depends on what attacks this argument. It must be derived by hand and is based on parad1 attacks.
| showtruth = whether the argument is shown with the colour according to its relat1 (assuming that it is true) or gray (assuming that it is false). Default: true. Note: This value cannot be derived from information within the argument, as it depends on what attacks this argument. It must be derived by hand and is based on parad1 attacks.
| showtruth = whether the argument is shown with the colour according to its relat1 (assuming that it is true) or gray (assuming that it is false). Default: true. Note: This value cannot be derived from information within the argument, as it depends on what attacks this argument. It must be derived by hand and is based on parad1 attacks.
| parad1 = main paradigm used to derive the result of the relation at hand. This is used to format the argument. There should exist a page <nowiki>[[parad1 (parameter)]]</nowiki>.
| parad1 = main paradigm used to derive the result of the relation at hand. This is used to format the argument. There should exist a page <nowiki>[[parad1 (parameter)]]</nowiki>.

Revision as of 07:09, 27 January 2019

----{{{id}}}: . {{{content}}} {{{sign}}} (type: truth; paradigms: science: comment) 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: arg + four random digits
| title = Very short description of the argument. This is shown on an insight network graph.
| content = content of the argument. This is shown on a hover bubble on an insight network.
| 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. Default: truth.
| showrelevance = whether the relation arrow is shown with the colour according to its relat1 (assuming that it is relevant) or gray (assuming that it is irrelevant). Default: relevant. Note: This value cannot be derived from information within the argument, as it depends on what attacks this argument. It must be derived by hand and is based on parad1 attacks.
| showtruth = whether the argument is shown with the colour according to its relat1 (assuming that it is true) or gray (assuming that it is false). Default: true. Note: This value cannot be derived from information within the argument, as it depends on what attacks this argument. It must be derived by hand and is based on parad1 attacks.
| parad1 = main paradigm used to derive the result of the relation at hand. This is used to format the argument. There should exist a page [[parad1 (parameter)]].
| 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.
| selftruth1 = truthlikeness of the argument itself. Depreciated, as now we use showtruth.
| parad2 = the second paradigm used. Formatting and the name of the paradigm are shown at the end of the argument
| relat2 = the second relation type according to paradigm2. Default: relat1
| 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.