Template:Opinion: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Simplified, added "Addresses position fragment" property)
(Changed to store its semantic data via #set_internal)
Line 6: Line 6:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>{{#ifeq:{{{3|}}}||This item addresses the topic [[Addresses topic::{{{1}}}]]|[[Addresses topic::{{{1}}}| ]]}}{{#ifeq:{{{3|}}}|for|This item argues for the position [[Is for::{{{1}}} / {{{2}}}|{{{2}}}]] on the topic [[{{{1}}}]].| }}{{#ifeq:{{{3|}}}|against|This item argues against the position [[Is against::{{{1}}} / {{{2}}}|{{{2}}}]] on the topic [[{{{1}}}]].| }}{{#ifeq:{{{3|}}}|mixed|This item takes a mixed stance on the position [[Is mixed on::{{{1}}} / {{{2}}}|{{{2}}}]] on the topic [[{{{1}}}]].| }} [[Addresses position fragment::{{{2|}}}| ]]</includeonly>
<includeonly>{{#ifeq:{{{3|}}}||This item addresses the topic [[{{{1|}}}]].}}{{#ifeq:{{{3|}}}|for|This item argues for the position [[{{{1|}}} / {{{|2}}}|{{{2|}}}]] on the topic [[{{{1|}}}]].}}{{#ifeq:{{{3|}}}|against|This item argues against the position [[{{{1|}}} / {{{2|}}}|{{{2|}}}]] on the topic [[{{{1|}}}]].}}{{#ifeq:{{{3|}}}|mixed|This item takes a mixed stance on the position [[{{{1|}}} / {{{2|}}}|{{{2|}}}]] on the topic [[{{{1|}}}]].}}{{#set_internal:Is opinion in|Covers topic={{{1|}}}|Has position fragment={{{2|}}}|Has position={{{1|}}} / {{{|2}}}|Has stance={{{3|}}} }}</includeonly>

Revision as of 18:58, December 19, 2011

This is the template for an opinion instance. It should be called in the following format:

{{Opinion|topic|position fragment|stance}}

Edit the page to see the template text.