Template:InCharge: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:authors|Author}} | {{#vardefine:authors|Author}}{{ | ||
{{ | |||
#forargs: author | #forargs: author | ||
| key | | key | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
{{#vardefine:authorlist | {{#if: {{#var:authorlist}} | {{#vardefine:authors|Authors}} {{#var:authorlist}}, }} [[{{#var: value}}]] }} | {{#vardefine:authorlist | {{#if: {{#var:authorlist}} | {{#vardefine:authors|Authors}} {{#var:authorlist}}, }}[[{{#var: value}}]] }} }} {{#if: {{#var:authorlist}} | '''{{#var:authors}}: {{#var:authorlist}}''' | ||
}} | |||
{{#if: {{#var:authorlist}} | '''{{#var:authors}}: {{#var:authorlist}}''' | |||
}}{{#vardefine:authorlist|}}{{#vardefine:authors|Author}}{{ | }}{{#vardefine:authorlist|}}{{#vardefine:authors|Author}}{{ | ||
Line 16: | Line 13: | ||
{{#vardefine:authorlist | {{#if: {{#var:authorlist}} | {{#vardefine:authors|Authors}} {{#var:authorlist}}, }} [[{{#var: value}}]] }} | {{#vardefine:authorlist | {{#if: {{#var:authorlist}} | {{#vardefine:authors|Authors}} {{#var:authorlist}}, }} [[{{#var: value}}]] }} | ||
}}{{#if: {{#var:authorlist}} | '''{{#var:authors}}: {{#var:authorlist}}''' | }}{{#if: {{#var:authorlist}} | '''{{#var:authors}}: {{#var:authorlist}}''' | ||
}} | }} | ||
{{#vardefine:authors|Author}} {{ | {{#vardefine:authors|Author}} {{ | ||
#forargs: author | #forargs: author |
Revision as of 11:16, 21 March 2012