Template:Argument: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(link to paradigm page added)
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="argument" id="{{{id}}}"><font class="relation" 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
|relevant defence = green
|relevant comment = blue
|relevant comment = blue
|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;--
|defense = &larr;--
|relevant defense = &larr;--
|defence = &larr;--
|irrelevant defense = &larr;--
|comment = ----
|relevant comment = ----
|branch = --&rarr;
|irrelevant comment = ----
|}}</big></big>'''{{{id}}}''': </font><font class="showtruth" color={{#switch: {{{showtruth|true}}} {{{relat1|comment}}}
|relevant branch = --&rarr;
|true attack = red
|irrelevant branch = --&rarr;
|true defense = green
|
|true defence = green
}}</big></big>'''{{{id}}}''': </font><font class="selftruth" color={{#switch: {{{selftruth1|true}}} {{{relat1|relevant comment}}}
|true comment = blue
|true relevant attack = red
|true branch = purple
|true relevant defense = green
|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}}}
|true relevant comment = blue
|attack = red
|true relevant branch = purple
|defense = green
|true irrelevant attack = red
|defence = green
|true irrelevant defense = green
|comment = blue
|true irrelevant comment = blue
|gray}}>{{{relat1|comment}}}</font>{{#if:{{{parad2|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad2|}}} (paradigm)|{{{parad2|}}}]]</i>: <font class="relation" color={{#switch: {{{relat2|{{{relat1}}}}}}
|true irrelevant branch = purple
|attack = red
|gray
|defense = green
}}><em class="title">{{{title|.}}}</em> <font class="content">{{{content}}}</font></font> (type: <i class="type">{{{type|both}}}</i>, paradigm: <i id="{{{id}}}" class="paradigm">{{{parad1|science}}}</i> [[{{{parad1|science}}} (paradigm)|view]]) <small class="sign">{{{sign}}}</small>{{#if:{{{parad2|}}}|<font class="relation" color={{#switch: {{{relat2|{{{relat1}}}}}}
|defence = green
|relevant attack = red
|comment = blue
|relevant defense = green
|relevant comment = blue
|gray}}
|gray}}
><big><big>{{#switch: {{{relat2|{{{relat1}}}}}}
>{{{relat2|{{{relat1}}}}}}</font>|}}{{#if:{{{parad3|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad3|}}} (paradigm)|{{{parad3|}}}]]</i>: <font class="relation" color={{#switch: {{{relat3|{{{relat1}}}}}}
|relevant attack = &#8676;--
|attack = red
|irrelevant attack = &#8676;--
|defense = green
|relevant defense = &larr;--
|defence = green
|irrelevant defense = &larr;--
|comment = blue
|relevant comment = ----
|irrelevant comment = ----
|
}}</big></big><font class="selftruth" color={{#switch: {{{selftruth2|{{{selftruth1}}}}}} {{{relat2|{{{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> [[{{{parad2|}}} (paradigm)|view]]|}}{{#if:{{{parad3|}}}|<font class="relation" color={{#switch: {{{relat3|{{{relat1}}}}}}
|relevant attack = red
|relevant defense = green
|relevant comment = blue
|gray}}
|gray}}
><big><big>{{#switch: {{{relat3|{{{relat1}}}}}}
>{{{relat3|{{{relat1}}}}}}</font>|}}{{#if:{{{parad4|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad4|}}} (paradigm)|{{{parad4|}}}]]</i>: <font class="relation" color={{#switch: {{{relat4|{{{relat1}}}}}}
|relevant attack = &#8676;--
|attack = red
|irrelevant attack = &#8676;--
|defense = green
|relevant defense = &larr;--
|defence = green
|irrelevant defense = &larr;--
|comment = blue
|relevant comment = ----
|irrelevant comment = ----
|
}}</big></big><font class="selftruth" color={{#switch: {{{selftruth3|{{{selftruth1}}}}}} {{{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">{{{parad3|}}}</i></font></font> [[{{{parad3|}}} (paradigm)|view]]|}}{{#if:{{{parad4|}}}|<font class="relation" color={{#switch: {{{relat4|{{{relat1}}}}}}
|relevant attack = red
|relevant defense = green
|relevant comment = blue
|gray}}
|gray}}
><big><big>{{#switch: {{{relat4|{{{relat1}}}}}}
>{{{relat4|{{{relat1}}}}}}</font>|}}{{#if:{{{parad5|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad5|}}} (paradigm)|{{{parad5|}}}]]</i>: <font class="relation" color={{#switch: {{{relat5|{{{relat1}}}}}}
|relevant attack = &#8676;--
|attack = red
|irrelevant attack = &#8676;--
|defense = green
|relevant defense = &larr;--
|defence = green
|irrelevant defense = &larr;--
|comment = blue
|relevant comment = ----
|irrelevant comment = ----
|
}}</big></big><font class="selftruth" color={{#switch: {{{selftruth4|{{{selftruth1}}}}}} {{{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">{{{parad4|}}}</i></font></font> [[{{{parad4|}}} (paradigm)|view]]|}}{{#if:{{{parad5|}}}|<font class="relation" color={{#switch: {{{relat5|{{{relat1}}}}}}
|relevant attack = red
|relevant defense = green
|relevant comment = blue
|gray}}
|gray}}
><big><big>{{#switch: {{{relat5|{{{relat1}}}}}}
>{{{relat5|{{{relat1}}}}}}</font>|}})</span><noinclude>
|relevant attack = &#8676;--
|irrelevant attack = &#8676;--
|relevant defense = &larr;--
|irrelevant defense = &larr;--
|relevant comment = ----
|irrelevant comment = ----
|
}}</big></big><font class="selftruth" color={{#switch: {{{selftruth5|{{{selftruth1}}}}}} {{{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">{{{parad5|}}}</i></font></font> [[{{{parad5|}}} (paradigm)|view]]|}}</span><noinclude>


[[op_fi:Malline:Argument]]
'''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:
<pre>
<pre>
{{argument
{{argument
| id = identifier of the argument, unique on this page, default: current time in HH:MM
| 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 a graph.
| 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.
| content = content of the argument. This is shown on a hover bubble on an insight network.
| 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, relevance or selftruth. Also "both" is allowed because the old [[:Template:Attack]] and other template usage did not differentiate type and that is the default if the parameter is missing. Selftruth refers to the argument itself while truth and relevance refer to the target argument.
| type = type of the relation to the target argument, i.e. what is attacked or defended. Either truth or relevance. Default: truth.
| parad1 = main paradigm used to derive the result of the relation at hand. This is used to format the argument.
| 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.
| 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.
| 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.
| selftruth1 = truthlikeness of the argument itself according to the first paradigm: either true or untrue.
| 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 is always "science"
| relat1 = relation type between the argument and its target according to the first paradigm: possible values: attack, defense, defence, comment, or branch.
| 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
| 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
| relat2 = the second relation type according to paradigm2. Default: relat1
| selftruth2 = the second truthlikeness according to paradigm2. Default: selftruth1
| parad3 etc. up to parad5 in this wiki
| parad3 etc. up to parad5 in this wiki
}}
}}

Latest revision as of 14:37, 1 February 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)]]. parad1 is always "science"
| relat1 = relation type between the argument and its target according to the first paradigm: possible values: attack, defense, defence, comment, or branch.
| 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.