Template:Argument: Difference between revisions

From Opasnet
Jump to navigation Jump to search
No edit summary
(defend -> defence)
Line 1: Line 1:
<span class="argument" id="{{{id}}}"><font class="relat1" color={{#switch: {{{relat1|relevant comment}}}
<span class="argument" id="{{{id}}}"><font class="relat1" color={{#switch: {{{relat1|relevant comment}}}
|relevant attack = red
|relevant attack = red
|relevant defend = green
|relevant defense = green
|relevant comment = blue
|relevant comment = blue
|gray}}
|gray}}
Line 7: Line 7:
|relevant attack = &#8676;--
|relevant attack = &#8676;--
|irrelevant attack = &#8676;--
|irrelevant attack = &#8676;--
|relevant defend = &larr;--
|relevant defense = &larr;--
|irrelevant defend = &larr;--
|irrelevant defense = &larr;--
|relevant comment = ----
|relevant comment = ----
|irrelevant comment = ----
|irrelevant comment = ----
Line 14: Line 14:
}}</big></big>'''{{{id}}}''': </font><font class="truth1" truth1v="{{{truth1|true}}}" color={{#switch: {{{truth1|true}}} {{{relat1|relevant comment}}}
}}</big></big>'''{{{id}}}''': </font><font class="truth1" truth1v="{{{truth1|true}}}" color={{#switch: {{{truth1|true}}} {{{relat1|relevant comment}}}
|true relevant attack = red
|true relevant attack = red
|true relevant defend = green
|true relevant defense = green
|true relevant comment = blue
|true relevant comment = blue
|true irrelevant attack = red
|true irrelevant attack = red
|true irrelevant defend = green
|true irrelevant defense = green
|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 class="parad1">{{{parad1|science}}}</i>) <small class="sign">{{{sign}}}</small>{{#if:{{{parad2|}}}|<font color={{#switch: {{{relat2|{{{relat1}}}}}}
}}><font class="content">{{{content}}}</font></font> (type: <i class="type">{{{type|both}}}</i>, paradigm: <i class="parad1">{{{parad1|science}}}</i>) <small class="sign">{{{sign}}}</small>{{#if:{{{parad2|}}}|<font color={{#switch: {{{relat2|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defend = green
|relevant defense = green
|relevant comment = blue
|relevant comment = blue
|gray}}
|gray}}
Line 28: Line 28:
|relevant attack = &#8676;--
|relevant attack = &#8676;--
|irrelevant attack = &#8676;--
|irrelevant attack = &#8676;--
|relevant defend = &larr;--
|relevant defense = &larr;--
|irrelevant defend = &larr;--
|irrelevant defense = &larr;--
|relevant comment = ----
|relevant comment = ----
|irrelevant comment = ----
|irrelevant comment = ----
Line 36: Line 36:
>{{{parad2|}}}</font></font>|}}{{#if:{{{parad3|}}}|<font color={{#switch: {{{relat3|{{{relat1}}}}}}
>{{{parad2|}}}</font></font>|}}{{#if:{{{parad3|}}}|<font color={{#switch: {{{relat3|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defend = green
|relevant defense = green
|relevant comment = blue
|relevant comment = blue
|gray}}
|gray}}
Line 42: Line 42:
|relevant attack = &#8676;--
|relevant attack = &#8676;--
|irrelevant attack = &#8676;--
|irrelevant attack = &#8676;--
|relevant defend = &larr;--
|relevant defense = &larr;--
|irrelevant defend = &larr;--
|irrelevant defense = &larr;--
|relevant comment = ----
|relevant comment = ----
|irrelevant comment = ----
|irrelevant comment = ----
Line 50: Line 50:
>{{{parad3|}}}</font></font>|}}{{#if:{{{parad4|}}}|<font color={{#switch: {{{relat4|{{{relat1}}}}}}
>{{{parad3|}}}</font></font>|}}{{#if:{{{parad4|}}}|<font color={{#switch: {{{relat4|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defend = green
|relevant defense = green
|relevant comment = blue
|relevant comment = blue
|gray}}
|gray}}
Line 56: Line 56:
|relevant attack = &#8676;--
|relevant attack = &#8676;--
|irrelevant attack = &#8676;--
|irrelevant attack = &#8676;--
|relevant defend = &larr;--
|relevant defense = &larr;--
|irrelevant defend = &larr;--
|irrelevant defense = &larr;--
|relevant comment = ----
|relevant comment = ----
|irrelevant comment = ----
|irrelevant comment = ----
Line 64: Line 64:
>{{{parad4|}}}</font></font>|}}{{#if:{{{parad5|}}}|<font color={{#switch: {{{relat5|{{{relat1}}}}}}
>{{{parad4|}}}</font></font>|}}{{#if:{{{parad5|}}}|<font color={{#switch: {{{relat5|{{{relat1}}}}}}
|relevant attack = red
|relevant attack = red
|relevant defend = green
|relevant defense = green
|relevant comment = blue
|relevant comment = blue
|gray}}
|gray}}
Line 70: Line 70:
|relevant attack = &#8676;--
|relevant attack = &#8676;--
|irrelevant attack = &#8676;--
|irrelevant attack = &#8676;--
|relevant defend = &larr;--
|relevant defense = &larr;--
|irrelevant defend = &larr;--
|irrelevant defense = &larr;--
|relevant comment = ----
|relevant comment = ----
|irrelevant comment = ----
|irrelevant comment = ----
Line 86: Line 86:
| type = type of the relation to the target argument, i.e. what is attacked or defended. Either truth or relevance.
| 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.
| 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, defend, or comment.
| 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.
| true1 = truthlikeness of the argument according to the first paragism: either true or untrue.
| parad2 = the second paradigm used.
| parad2 = the second paradigm used.

Revision as of 19:33, 13 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 (first draft). This syntax does NOT solve the problem of identifying the thread, i.e. the argument to which an argument points to. On a page it is visually intuitive but in code some tricks must be done.

<div class="discussion">
  <span class="statement">Statement written here.</span>
  <span class="resolution">Resolution written here.</span>
  <span class="argument" id={{{id}}}>
    <span class="id">id</span> 
    {{{content}}}
    <span class="signature">{{{sign}}}</span>
    <span class="{{{parad1}}}" title="{{{relat1}}},{{{true1}}}"></span>
    <span class="{{{parad2}}}" title="{{{relat2}}},{{{true2}}}"></span>
    <span class="{{{parad3}}}" title="{{{relat3}}},{{{true3}}}"></span>
    <span class="{{{parad4}}}" title="{{{relat4}}},{{{true4}}}"></span>
    <span class="{{{parad5}}}" title="{{{relat5}}},{{{true5}}}"></span>
  </span>
  <span class="argument">etc</span>
</div>