Template:Editorial board: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Removed SMW property settings)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the template for an editorial board. It is called in the following format:
This is the template for an editorial board. It should be called in the following format:
 
<pre>
<pre>
{{editorial board|
{{Editorial board|
political affiliation=|
Political affiliation=
}}
}}
</pre>
</pre>
Edit the page to see the source code.
{{#cargo_attach:_table=Authors}}
</noinclude>
</noinclude>
<includeonly>
This is the editorial board of [[{{#sub:{{PAGENAME}}|0|{{#expr:{{#pos:{{PAGENAME}}|editorial board}}-1}}}}]].


<includeonly>
Political affiliation: {{{political affiliation|}}}
This [[:Category:Authors|author]] is the [[Relation:Is the editorial board of|editorial board]] of [[Is the editorial board of::{{#sub:{{PAGENAME}}|0|{{#expr:{{#pos:{{PAGENAME}}|editorial board|}}-1}}}}]].
Political affiliation: [[Political affiliation:={{{political affiliation|unknown}}} ]]


Items by this editorial board:
Items by this editorial board:
<ask format="ul"> [[Was written by::{{PAGENAME}}]][[addresses topic::*]] </ask>
{{#cargo_query:tables=Items,Opinions
[[Category:Authors]]
|join on=Items._pageName=Opinions._pageName
|where=Author HOLDS "{{PAGENAME}}"
|fields=Items._pageName,Topic,Position_link=Position,Stance
|format=ul
}}
 
{{#cargo_store:_table=Authors|Political_affiliation={{{political affiliation|}}} }}
[[Category:Editorial boards]]
</includeonly>
</includeonly>

Latest revision as of 17:59, August 7, 2015

This is the template for an editorial board. It should be called in the following format:

{{Editorial board|
Political affiliation=
}}

Edit the page to see the source code. This template adds rows to the table "Authors", which is declared by the template Author. View table.