Template:Editorial board: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Improved display)
(Removed SMW property settings)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
</pre>
</pre>
Edit the page to see the source code.
Edit the page to see the source code.
{{#cargo_attach:_table=Authors}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
This is the editorial board of [[Is the editorial board of::{{#sub:{{PAGENAME}}|0|{{#expr:{{#pos:{{PAGENAME}}|editorial board}}-1}}}}]].
This is the editorial board of [[{{#sub:{{PAGENAME}}|0|{{#expr:{{#pos:{{PAGENAME}}|editorial board}}-1}}}}]].


Political affiliation: [[Political affiliation::{{{political affiliation|}}}]]
Political affiliation: {{{political affiliation|}}}


Items by this editorial board:
{{#cargo_query:tables=Items,Opinions
|join on=Items._pageName=Opinions._pageName
|where=Author HOLDS "{{PAGENAME}}"
|fields=Items._pageName,Topic,Position_link=Position,Stance
|format=ul
}}


Items by this editorial board:
{{#cargo_store:_table=Authors|Political_affiliation={{{political affiliation|}}} }}
{{#ask:[[Was written by::{{PAGENAME}}]]|? addresses topic|format=ul}}
[[Category:Editorial boards]]
[[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.