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:coauthors|Co-author}} | -->{{#vardefine:coauthors|Co-author}} {{ | ||
{{ | |||
#forargs: coauthor | #forargs: coauthor | ||
| key | | key | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
{{#vardefine:coauthorlist | {{#if: {{#var:coauthorlist}} | {{#vardefine:coauthors|Co-authors}} {{#var:coauthorlist}}, | }} [[{{#var: value}}]] }} | {{#vardefine:coauthorlist | {{#if: {{#var:coauthorlist}} | {{#vardefine:coauthors|Co-authors}} {{#var:coauthorlist}}, | }} [[{{#var: value}}]] }} <!-- | ||
}} | -->}} <!-- | ||
{{#if: {{#var:coauthorlist}} | '''{{#var:coauthors}}: {{#var:coauthorlist}}''' }} | -->{{#if: {{#var:coauthorlist}} | '''{{#var:coauthors}}: {{#var:coauthorlist}}''' | ||
}} <!-- | |||
{{#vardefine:contributors|Contributor}} | -->{{#vardefine:contributors|Contributor}} {{ | ||
{{ | |||
#forargs: contributor | #forargs: contributor | ||
| key | | key | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
{{#vardefine:contributorlist | {{#if: {{#var:contributorlist}} | {{#vardefine:contributors|Contributors}} {{#var:contributorlist}}, | }} [[{{#var: value}}]] }} | {{#vardefine:contributorlist | {{#if: {{#var:contributorlist}} | {{#vardefine:contributors|Contributors}} {{#var:contributorlist}}, | }} [[{{#var: value}}]] }} <!-- | ||
}} | -->}} <!-- | ||
{{#if: {{#var:contributorlist}} | {{#var:contributors}}: {{#var:contributorlist}} }} | -->{{#if: {{#var:contributorlist}} | {{#var:contributors}}: {{#var:contributorlist}} | ||
}}<!-- | |||
-->{{#vardefine:maintainers|Maintainer}} {{ | |||
{{#vardefine:maintainers|Maintainer}} | |||
{{ | |||
#forargs: maintainer | #forargs: maintainer | ||
| key | | key | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
{{#vardefine:maintainerlist | {{#if: {{#var:maintainerlist}} | {{#vardefine:maintainers|Maintainers}} {{#var:maintainerlist}}, | }} [[{{#var: value}}]] }} | {{#vardefine:maintainerlist | {{#if: {{#var:maintainerlist}} | {{#vardefine:maintainers|Maintainers}} {{#var:maintainerlist}}, | }} [[{{#var: value}}]] }} <!-- | ||
-->}} <!-- | |||
-->{{#if: {{#var:maintainerlist}} | ''{{#var:maintainers}}: {{#var:maintainerlist}}'' | |||
}} | }} | ||