Template:Argument

From Opasnet
Revision as of 11:32, 11 July 2018 by Jouni (talk | contribs)
Jump to navigation Jump to search

----{{{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>