Template:Opinion: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) (Added Position_link field) |
Yaron Koren (talk | contribs) (Removed SMW property settings) |
||
Line 6: | Line 6: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Opinions|Topic=Page|Position_fragment=Text (hidden)|Position=Page|Position_link=Wikitext (hidden)|Stance=Text}} | {{#cargo_declare:_table=Opinions|Topic=Page|Position_fragment=Text (hidden)|Position=Page|Position_link=Wikitext (hidden)|Stance=Text}} | ||
</noinclude><includeonly> | </noinclude><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|}}}]].}}{{#ifeq:{{{3|}}}|for| }}{{#ifeq:{{{3|}}}|against| }}{{#ifeq:{{{3|}}}|mixed| }} {{#cargo_store:_table=Opinions|Topic={{{1|}}}|Position_fragment={{{2|}}}|Position={{#ifeq:{{{2|}}}|||{{{1}}} / {{{2}}} }}|Position_link={{#ifeq:{{{2|}}}|||[[{{{1}}} / {{{2}}}|{{{2}}}]] }}|Stance={{{3|}}} }}</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|}}}]]. |
Revision as of 18:07, August 7, 2015
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. This template defines the table "Opinions". View table.