Template:Argument: Difference between revisions

From Opasnet
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
|comment = --
|comment = --
|
|
}}</big></big>'''{{{id}}}''': {{{content}}}</font> <small>{{{signature}}}</small>
}}</big></big>'''{{{id}}}''': {{{content}}}</font> <small>{{{signature}}}</small>{{#if:{{{parad2|}}}|<font color={{#switch: {{{relat2|{{{relat1}}}}}} {{{valid2|{{{valid1}}}}}}
{{#if:{{{parad2|}}}|<font color={{#switch: {{{relat2|{{{relat1}}}}}} {{{valid2|{{{valid1}}}}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 27: Line 26:
|
|
}}</big></big>
}}</big></big>
{{{parad2|}}}</font>|}}
{{{parad2|}}}</font>|}}{{#if:{{{parad3|}}}|<font color={{#switch: {{{relat3|{{{relat1}}}}}} {{{valid3|{{{valid1}}}}}}
{{#if:{{{parad3|}}}|<font color={{#switch: {{{relat3|{{{relat1}}}}}} {{{valid3|{{{valid1}}}}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 42: Line 40:
|
|
}}</big></big>
}}</big></big>
{{{parad3|}}}</font>|}}
{{{parad3|}}}</font>|}}{{#if:{{{parad4|}}}|<font color={{#switch: {{{relat4|{{{relat1}}}}}} {{{valid4|{{{valid1}}}}}}
{{#if:{{{parad4|}}}|<font color={{#switch: {{{relat4|{{{relat1}}}}}} {{{valid4|{{{valid1}}}}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 57: Line 54:
|
|
}}</big></big>
}}</big></big>
{{{parad4|}}}</font>|}}
{{{parad4|}}}</font>|}}{{#if:{{{parad5|}}}|<font color={{#switch: {{{relat5|{{{relat1}}}}}} {{{valid5|{{{valid1}}}}}}
{{#if:{{{parad5|}}}|<font color={{#switch: {{{relat5|{{{relat1}}}}}} {{{valid5|{{{valid1}}}}}}
|attack valid = red
|attack valid = red
|attack invalid = gray
|attack invalid = gray
Line 72: Line 68:
|
|
}}</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:
<pre>
<pre>

Revision as of 14:53, 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
}}