Template:Editorial board: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) No edit summary |
Yaron Koren (talk | contribs) (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 | This is the template for an editorial board. It should be called in the following format: | ||
<pre> | <pre> | ||
{{Editorial board| | |||
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}}}}]]. | |||
Political affiliation: {{{political affiliation|}}} | |||
Items by this editorial board: | Items by this editorial board: | ||
{{#cargo_query:tables=Items,Opinions | |||
[[Category: | |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.