Template:Editorial board: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Updated)
(Removed SMW property settings)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
This is the template for an editorial board. It should be 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.
Edit the page to see the source code.
{{#cargo_attach:_table=Authors}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
This [[Property:Is the editorial board of|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:
Items by this editorial board:
{{#ask:[[Was written by::{{PAGENAME}}]]|? addresses topic|format=ul}}
{{#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
}}
 
{{#cargo_store:_table=Authors|Political_affiliation={{{political affiliation|}}} }}
[[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.