Difference between revisions of "Template:Author"

From PKC
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Example:
{{Author
|first=firstName
|last=lastName
|description= Some description text.
|email= name@example.org
|website= some URL to one's website
}}


</noinclude>
</noinclude>


<includeonly>
<includeonly>
Author's first name:{{{first}}}, last name:{{{last}}}.
 
{{{description}}}
{{{description}}}


{{#if: {{{email|}}} | {{{email}}}|}}
==Detailed Information==
{{#if: {{{website|}}} |{{{last}}}, {{{first}}} has a website: {{{website}}}.|}}
Author's first name:{{{first}}}, last name:{{{last}}}.
<p>{{#if: {{{email|}}} | {{{email}}}|}}</p>
<p>{{#if: {{{website|}}} |{{{last}}}, {{{first}}} has a website: {{{website}}}.|}}</p>
=References=
=References=
</includeonly>
</includeonly>
[[Category:Author]]

Latest revision as of 09:51, 4 July 2021

This is the "Author" template.

{{Author
|first=firstName
|last=lastName
|description= Some description text.
|email= name@example.org
|website= some URL to one's website
}}

Example:



Some description text.

Detailed Information

Author's first name:firstName, last name:lastName.

name@example.org

lastName, firstName has a website: some URL to one's website.

References