Template:Opinion: Difference between revisions

From Medicine GPT
Jump to navigation Jump to search
(Created page with "<noinclude> This is the template for an opinion instance. It should be called in the following format: <pre> {{Opinion|topic|position fragment|stance}} </pre> Edit the page to see the template text. {{#cargo_declare:_table=Opinions|_parentTables=Items (_alias=Item)|_drilldownTabs=Main (format=category;fields=_pageName),Table (format=table;fields=_pageName=Item,Topic,Items.Source),Default tab|Topic=Page|Position_fragment=String (hidden)|Position=Page (dependent fields=Sta...")
 
No edit summary
Tag: Reverted
Line 5: Line 5:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Opinions|_parentTables=Items (_alias=Item)|_drilldownTabs=Main (format=category;fields=_pageName),Table (format=table;fields=_pageName=Item,Topic,Items.Source),Default tab|Topic=Page|Position_fragment=String (hidden)|Position=Page (dependent fields=Stance)|Position_link=Wikitext (hidden)|Stance=String (allowed values=for,mixed,against)}}
{{#cargo_declare:_table=Opinions|_parentTables=Reviews (_alias=Review)|_drilldownTabs=Main (format=category;fields=_pageName),Table (format=table;fields=_pageName=Review,Topic,Reviews.Source),Default tab|Topic=Page|Position_fragment=String (hidden)|Position=Page (dependent fields=Stance)|Position_link=Wikitext (hidden)|Stance=String (allowed values=for,mixed,against)}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifeq:{{{3|}}}||This item addresses the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#ifeq:{{{3|}}}|for|This item argues for the position {{#formredlink:target={{{1|}}} / {{{2|}}}|form=Position|existing page link text={{{2|}}}}} on the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#ifeq:{{{3|}}}|against|This item argues against the position {{#formredlink:target={{{1|}}} / {{{2|}}}|form=Position|existing page link text={{{2|}}}}} on the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#ifeq:{{{3|}}}|mixed|This item takes a mixed stance on the position {{#formredlink:target={{{1|}}} / {{{2|}}}|form=Position|existing page link text={{{2|}}}}} on the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#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|}}} }}
{{#ifeq:{{{3|}}}||This review addresses the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#ifeq:{{{3|}}}|for|This review argues for the position {{#formredlink:target={{{1|}}} / {{{2|}}}|form=Position|existing page link text={{{2|}}}}} on the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#ifeq:{{{3|}}}|against|This review argues against the position {{#formredlink:target={{{1|}}} / {{{2|}}}|form=Position|existing page link text={{{2|}}}}} on the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#ifeq:{{{3|}}}|mixed|This review takes a mixed stance on the position {{#formredlink:target={{{1|}}} / {{{2|}}}|form=Position|existing page link text={{{2|}}}}} on the topic {{#formredlink:target={{{1|}}}|form=Topic}}.}}{{#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>
</includeonly>

Revision as of 22:17, 15 September 2022

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.

Error: Parent table "Reviews" does not exist.