Template:Argument: Difference between revisions

From Opasnet
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
<font color={{#switch: {{{relat1}}} {{{valid1}}}
<span class="argument" id="{{{id}}}"><font color={{#switch: {{{showrelevance|relevant}}} {{{relat1|comment}}}
|attack valid = red
|relevant attack = red
|attack invalid = gray
|relevant defense = green
|defend valid = green
|relevant defence = green
|defend invalid = gray
|relevant comment = blue
|comment valid = blue
|relevant branch = purple
|comment invalid = gray
|gray}}
|gray}}
id={{{id}}}><big><big>{{#switch: {{{relat1}}}
><big><big>{{#switch: {{{relat1|comment}}}
|attack = &#8676;
|attack = &#8676;--
|defend = &larr;
|defense = &larr;--
|comment = --
|defence = &larr;--
|
|comment = ----
}}</big></big>'''{{{id}}}''': {{{content}}}</font> <small>{{{signature}}}</small>{{#if:{{{parad2|}}}|<font color={{#switch: {{{relat2|{{{relat1}}}}}} {{{valid2|{{{valid1}}}}}}
|branch = --&rarr;
|attack valid = red
|}}</big></big>'''{{{id}}}''': </font><font class="showtruth" color={{#switch: {{{showtruth|true}}} {{{relat1|comment}}}
|attack invalid = gray
|true attack = red
|defend valid = green
|true defense = green
|defend invalid = gray
|true defence = green
|comment valid = blue
|true comment = blue
|comment invalid = gray
|true branch = purple
|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}}}
|attack = red
|defense = green
|defence = green
|comment = blue
|gray}}>{{{relat1|comment}}}</font>{{#if:{{{parad2|}}}|, <i id="{{{id}}}" class="paradigm">[[{{{parad2|}}} (paradigm)|{{{parad2|}}}]]</i>: <font class="relation" color={{#switch: {{{relat2|{{{relat1}}}}}}
|attack = red
|defense = green
|defence = green
|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}}}}}}
|attack = &#8676;
|attack = red
|defend = &larr;
|defense = green
|comment = --
|defence = green
|
|comment = blue
}}</big></big>{{{parad2|}}}</font>|}}{{#if:{{{parad3|}}}|<font color=
{{#switch: {{{relat3|{{{relat1}}}}}} {{{valid3|{{{valid1}}}}}}
|attack valid = red
|attack invalid = gray
|defend valid = green
|defend invalid = gray
|comment valid = blue
|comment invalid = gray
|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}}}}}}
|attack = &#8676;
|attack = red
|defend = &larr;
|defense = green
|comment = --
|defence = green
|
|comment = blue
}}</big></big>{{{parad3|}}}</font>|}}{{#if:{{{parad4|}}}|<font color=
{{#switch: {{{relat4|{{{relat1}}}}}} {{{valid4|{{{valid1}}}}}}
|attack valid = red
|attack invalid = gray
|defend valid = green
|defend invalid = gray
|comment valid = blue
|comment invalid = gray
|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}}}}}}
|attack = &#8676;
|attack = red
|defend = &larr;
|defense = green
|comment = --
|defence = green
|
|comment = blue
}}</big></big>{{{parad4|}}}</font>|}}{{#if:{{{parad5|}}}|<font color=
{{#switch: {{{relat5|{{{relat1}}}}}} {{{valid5|{{{valid1}}}}}}
|attack valid = red
|attack invalid = gray
|defend valid = green
|defend invalid = gray
|comment valid = blue
|comment invalid = gray
|gray}}
|gray}}
><big><big>{{#switch: {{{relat5|relat1}}}
>{{{relat5|{{{relat1}}}}}}</font>|}})</span><noinclude>
|attack = &#8676;
 
|defend = &larr;
[[op_fi:Malline:Argument]]
|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:
|
}}</big></big>{{{parad5|}}}</font>|}}<noinclude>
'''Template:Argument''' aims to replace all argument templates so that it would be generic and could express any argument relation. Then, it would be possible to switch formatting, e.g. colour without changing the template, i.e. without editing the page where the template is used. Usage:
<pre>
<pre>
{{argument
{{argument
| id = identifier of the argument, unique on this page
| id = identifier of the argument, unique on this page, default: arg + four random digits
| content = content of the argument
| title = Very short description of the argument. This is shown on an insight network graph.
| signature = signature of the speaker, default: --~~~
| content = content of the argument. This is shown on a hover bubble on an insight network.
| parad1 = main paradigm used for the. This is used to format the argument.
| sign = signature of the speaker, default: --~~~~
| relat1 = relation type between the argument and its target according to the first paradigm: either attack, defend, or comment.
| type = type of the relation to the target argument, i.e. what is attacked or defended. Either truth or relevance. Default: truth.
| valid1 = validity of the argument according to the first paragism: either valid or invalid.
| 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.
| parad2 = the second paradigm used.
| 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 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
| relat2 = the second relation type according to paradigm2. Default: relat1
| valid2 = the second validity according to paradigm2. Default: valid1
| parad3 etc. up to parad5 in this wiki
| parad3 etc. up to parad5 in this wiki
}}
}}
</pre>
</pre>
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.
</noinclude>
</noinclude>

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.