Template:Argument: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<font color={{#switch: {{{relat1|comment | <font color={{#switch: {{{relat1|relevant comment}}} | ||
|attack | |relevant attack = red | ||
| | |relevant defend = green | ||
|relevant comment = blue | |||
| | |||
|gray}} | |gray}} | ||
><big><big>{{#switch: {{{relat1|relevant comment}}} | |||
|attack = ⇤ | |relevant attack = ⇤-- | ||
|defend = ← | |irrelevant attack = ⇤-- | ||
|comment = -- | |relevant defend = ←-- | ||
|irrelevant defend = ←-- | |||
|relevant comment = ---- | |||
|irrelevant comment = ---- | |||
| | | | ||
}}</big></big>'''{{{id}}}''': {{{content}}}</font> <small>{{{signature}}}</small>{{#if:{{{parad2|}}}|<font color={{#switch: {{{ | }}</big></big></font><font color={{#switch: {{{truth1|true}}} {{{relat1|comment}}} | ||
|attack | |true relevant attack = red | ||
| | |true relevant defend = green | ||
| | |true relevant comment = blue | ||
| | |true irrelevant attack = red | ||
| | |true irrelevant defend = green | ||
|comment | |true irrelevant comment = blue | ||
|gray | |||
}}>'''{{{id}}}''': {{{content}}}</font> <small>{{{signature}}}</small>{{#if:{{{parad2|}}}|<font color={{#switch: {{{truth2|{{{true1}}} {{{relat2|{{{relat1}}}}}}}}} | |||
|true relevant attack = red | |||
|true relevant defend = green | |||
|true relevant comment = blue | |||
|true irrelevant attack = red | |||
|true irrelevant defend = green | |||
|true irrelevant comment = blue | |||
|gray}} | |gray}} | ||
><big><big>{{#switch: {{{relat2|{{{relat1}}}}}} | ><big><big>{{#switch: {{{relat2|{{{relat1}}}}}} | ||
|attack = ⇤ | |relevant attack = ⇤-- | ||
|defend = ← | |irrelevant attack = ⇤-- | ||
|comment = -- | |relevant defend = ←-- | ||
|irrelevant defend = ←-- | |||
|relevant comment = ---- | |||
|irrelevant comment = ---- | |||
| | | | ||
}}</big></big>{{{parad2|}}}</font>|}}{{#if:{{{parad3|}}}|<font color= | }}</big></big>{{{parad2|}}}</font>|}}{{#if:{{{parad3|}}}|<font color= | ||
{{#switch: {{{relat3|{{{relat1}}}}}} {{{ | {{#switch: {{{relat3|{{{relat1}}}}}} {{{true3|{{{true1}}}}}} | ||
|attack | |true relevant attack = red | ||
| | |true relevant defend = green | ||
| | |true relevant comment = blue | ||
| | |true irrelevant attack = red | ||
| | |true irrelevant defend = green | ||
|comment | |true irrelevant comment = blue | ||
|gray}} | |gray}} | ||
><big><big>{{#switch: {{{relat3|{{{relat1}}}}}} | ><big><big>{{#switch: {{{relat3|{{{relat1}}}}}} | ||
|attack = ⇤ | |relevant attack = ⇤-- | ||
|defend = ← | |irrelevant attack = ⇤-- | ||
|comment = -- | |relevant defend = ←-- | ||
|irrelevant defend = ←-- | |||
|relevant comment = ---- | |||
|irrelevant comment = ---- | |||
| | | | ||
}}</big></big>{{{parad3|}}}</font>|}}{{#if:{{{parad4|}}}|<font color= | }}</big></big>{{{parad3|}}}</font>|}}{{#if:{{{parad4|}}}|<font color= | ||
{{#switch: {{{relat4|{{{relat1}}}}}} {{{ | {{#switch: {{{relat4|{{{relat1}}}}}} {{{true4|{{{true1}}}}}} | ||
|attack | |true relevant attack = red | ||
| | |true relevant defend = green | ||
| | |true relevant comment = blue | ||
| | |true irrelevant attack = red | ||
| | |true irrelevant defend = green | ||
|comment | |true irrelevant comment = blue | ||
|gray}} | |gray}} | ||
><big><big>{{#switch: {{{relat4|{{{relat1}}}}}} | ><big><big>{{#switch: {{{relat4|{{{relat1}}}}}} | ||
|attack = ⇤ | |relevant attack = ⇤-- | ||
|defend = ← | |irrelevant attack = ⇤-- | ||
|comment = -- | |relevant defend = ←-- | ||
|irrelevant defend = ←-- | |||
|relevant comment = ---- | |||
|irrelevant comment = ---- | |||
| | | | ||
}}</big></big>{{{parad4|}}}</font>|}}{{#if:{{{parad5|}}}|<font color= | }}</big></big>{{{parad4|}}}</font>|}}{{#if:{{{parad5|}}}|<font color= | ||
{{#switch: {{{relat5|{{{relat1}}}}}} {{{ | {{#switch: {{{relat5|{{{relat1}}}}}} {{{true5|{{{true1}}}}}} | ||
|attack | |true relevant attack = red | ||
| | |true relevant defend = green | ||
| | |true relevant comment = blue | ||
| | |true irrelevant attack = red | ||
| | |true irrelevant defend = green | ||
|comment | |true irrelevant comment = blue | ||
|gray}} | |gray}} | ||
><big><big>{{#switch: {{{relat5|relat1}}} | ><big><big>{{#switch: {{{relat5|relat1}}} | ||
|attack = ⇤ | |relevant attack = ⇤-- | ||
|defend = ← | |irrelevant attack = ⇤-- | ||
|comment = -- | |relevant defend = ←-- | ||
|irrelevant defend = ←-- | |||
|relevant comment = ---- | |||
|irrelevant comment = ---- | |||
| | | | ||
}}</big></big>{{{parad5|}}}</font>|}}<noinclude> | }}</big></big>{{{parad5|}}}</font>|}}<noinclude> | ||
Line 77: | Line 97: | ||
| 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: either attack, defend, or comment. | | relat1 = relation type between the argument and its target according to the first paradigm: either attack, defend, or comment. | ||
| | | true1 = trueity of the argument according to the first paragism: either true or intrue. | ||
| parad2 = the second paradigm used. | | parad2 = the second paradigm used. | ||
| relat2 = the second relation type according to paradigm2. Default: relat1 | | relat2 = the second relation type according to paradigm2. Default: relat1 | ||
| | | true2 = the second trueity according to paradigm2. Default: true1 | ||
| parad3 etc. up to parad5 in this wiki | | parad3 etc. up to parad5 in this wiki | ||
}} | }} | ||
Line 95: | Line 115: | ||
{{{content}}} | {{{content}}} | ||
<span class="signature">{{{signature}}}</span> | <span class="signature">{{{signature}}}</span> | ||
<span class="{{{parad1}}}" title="{{{relat1}}},{{{ | <span class="{{{parad1}}}" title="{{{relat1}}},{{{true1}}}"></span> | ||
<span class="{{{parad2}}}" title="{{{relat2}}},{{{ | <span class="{{{parad2}}}" title="{{{relat2}}},{{{true2}}}"></span> | ||
<span class="{{{parad3}}}" title="{{{relat3}}},{{{ | <span class="{{{parad3}}}" title="{{{relat3}}},{{{true3}}}"></span> | ||
<span class="{{{parad4}}}" title="{{{relat4}}},{{{ | <span class="{{{parad4}}}" title="{{{relat4}}},{{{true4}}}"></span> | ||
<span class="{{{parad5}}}" title="{{{relat5}}},{{{ | <span class="{{{parad5}}}" title="{{{relat5}}},{{{true5}}}"></span> | ||
</span> | </span> | ||
<span class="argument">etc</span> | <span class="argument">etc</span> |
Revision as of 11:32, 11 July 2018
----{{{id}}}: {{{content}}} {{{signature}}}
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 | signature = signature of the speaker, default: --~~~~ | 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: either attack, defend, or comment. | true1 = trueity of the argument according to the first paragism: either true or intrue. | parad2 = the second paradigm used. | relat2 = the second relation type according to paradigm2. Default: relat1 | true2 = the second trueity 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">{{{signature}}}</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>