Template:Author: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(rv changes again)
No edit summary
Line 1: Line 1:
<noinclude>This template holds information on an author of opinion items; it should be called with the following structure:
<noinclude>
<pre>{{author
This is the "Author" template.
|first name=The author's first name; used for sorting
It should be called in the following format:
|last name=The author's last name; used for sorting
<pre>
|political affiliation=Liberal, Conservative, etc. (This is a very subjective field)
{{Author
|Political affiliation=
|First name=
}}
}}
</pre>
</pre>
</noinclude><includeonly>
Edit the page to see the template text.
This is an [[:Category:Authors|author]]. [[Has first name::{{{first name| }}}| ]] [[Has last name::{{{last name| }}}| ]]
</noinclude><includeonly>{{#set:Has first name={{{First name|}}}|}}
 
{| class="wikitable"
Political affiliation: [[Political affiliation::{{{political affiliation| }}}]]
! Political affiliation
 
| [[Political affiliation::{{{Political affiliation|}}}]]
Items by this author:
|}
{{#ask:[[Was written by::{{PAGENAME}}]]|? Addresses topic|format=ul}}


[[Category:Authors]]
[[Category:Authors]]
{{DEFAULTSORT:{{#if:{{{last name|}}}|{{{last name}}}, {{{first name|}}}|{{PAGENAME}}}}}}
</includeonly>
</includeonly>

Revision as of 00:24, October 17, 2011

This is the "Author" template. It should be called in the following format:

{{Author
|Political affiliation=
|First name=
}}

Edit the page to see the template text.