Template:Argument: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(first draft)
 
No edit summary
Line 1: Line 1:
<font color={{#switch
<font color={{#switch: {{{relat1}}} {{{valid1}}}
|{{{relat1}}} {{{valid1}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 8: Line 7:
|comment invalid = gray
|comment invalid = gray
|gray}}
|gray}}
  id={{{id}}}><big><big>{{#switch
  id={{{id}}}><big><big>{{#switch: {{{relat1}}}
|{{{relat1}}}
|attack = &#8676;
|attack = &#8676;
|defend = &larr;
|defend = &larr;
Line 15: Line 13:
|
|
}}</big></big>'''{{{id}}}''': {{{content}}}</font> <small>{{{signature}}}</small>
}}</big></big>'''{{{id}}}''': {{{content}}}</font> <small>{{{signature}}}</small>
<font color={{#switch
<font color={{#switch: {{{relat2|relat1}}} {{{valid2|valid1}}}
|{{{relat2|relat1}}} {{{valid2|valid1}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 24: Line 21:
|comment invalid = gray
|comment invalid = gray
|gray}}
|gray}}
><big><big>{{#switch
><big><big>{{#switch: {{{relat2}}}
|{{{relat2}}}
|attack = &#8676;
|attack = &#8676;
|defend = &larr;
|defend = &larr;
Line 31: Line 27:
|
|
}}</big></big>
}}</big></big>
{{{parad2}}}</font>
{{{parad2|}}}</font>
<font color={{#switch
<font color={{#switch: {{{relat3|relat1}}} {{{valid3|valid1}}}
|{{{relat3|relat1}}} {{{valid3|valid1}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 41: Line 36:
|comment invalid = gray
|comment invalid = gray
|gray}}
|gray}}
><big><big>{{#switch
><big><big>{{#switch: {{{relat3}}}
|{{{relat3}}}
|attack = &#8676;
|attack = &#8676;
|defend = &larr;
|defend = &larr;
Line 48: Line 42:
|
|
}}</big></big>
}}</big></big>
{{{parad3}}}</font>
{{{parad3|}}}</font>
<font color={{#switch
<font color={{#switch: {{{relat4|relat1}}} {{{valid4|valid1}}}
|{{{relat4|relat1}}} {{{valid4|valid1}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 58: Line 51:
|comment invalid = gray
|comment invalid = gray
|gray}}
|gray}}
><big><big>{{#switch
><big><big>{{#switch: {{{relat4}}}
|{{{relat4}}}
|attack = &#8676;
|attack = &#8676;
|defend = &larr;
|defend = &larr;
Line 65: Line 57:
|
|
}}</big></big>
}}</big></big>
{{{parad4}}}</font>
{{{parad4|}}}</font>
<font color={{#switch
<font color={{#switch: {{{relat5|relat1}}} {{{valid5|valid1}}}
|{{{relat5|relat1}}} {{{valid5|valid1}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 75: Line 66:
|comment invalid = gray
|comment invalid = gray
|gray}}
|gray}}
><big><big>{{#switch
><big><big>{{#switch: {{{relat5}}}
|{{{relat5}}}
|attack = &#8676;
|attack = &#8676;
|defend = &larr;
|defend = &larr;
Line 82: Line 72:
|
|
}}</big></big>
}}</big></big>
{{{parad5}}}</font>
{{{parad5|}}}</font>
  <noinclude>
  <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:
'''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:

Revision as of 14:20, 9 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. 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:

{{argument
| id = identifier of the argument, unique on this page
| content = content of the argument
| signature = signature of the speaker, default: --~~~
| parad1 = main paradigm used for the. 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.
| valid1 = validity of the argument according to the first paragism: either valid or invalid.
| parad2 = the second paradigm used.
| 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
}}