This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "Template:Contact"
From OWASP
m (moved Template:Contributor to Template:Contact) |
|||
| Line 1: | Line 1: | ||
| − | {{#if: {{{name|}}} | {{#if: {{{email|}}} | [mailto:{{{email}}} {{{name}}}] | {{#if: {{{username|}}} | [[User:{{{username}}} {{Template:!}} {{{name}}}]] | {{{name}}} }} }} }} | + | <includeonly>{{#if: {{{name|}}} | {{#if: {{{email|}}} | [mailto:{{{email}}} {{{name}}}] | {{#if: {{{username|}}} | [[User:{{{username}}} {{Template:!}} {{{name}}}]] | {{{name}}} }} }} }}</includeonly><noinclude>This template displays a contact optionally linking the contact's email address or wiki user name. |
| + | |||
| + | All parameters are optional. If no name is given, no text is displayed. If both an email and a wiki user name is displayed, only the email will be linked. | ||
| + | |||
| + | === Usage === | ||
| + | <pre> | ||
| + | {{Template:Contact | ||
| + | | name = | ||
| + | | email = | ||
| + | | username = | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | === Example === | ||
| + | <pre> | ||
| + | {{Template:Contact | name = Jason | username = Jason Li }} | ||
| + | </pre> | ||
| + | {{Template:Contact | name = Jason | username = Jason Li }} | ||
| + | </noinclude> | ||
Revision as of 00:22, 3 August 2009
This template displays a contact optionally linking the contact's email address or wiki user name.
All parameters are optional. If no name is given, no text is displayed. If both an email and a wiki user name is displayed, only the email will be linked.
Usage
{{Template:Contact
| name =
| email =
| username =
}}
Example
{{Template:Contact | name = Jason | username = Jason Li }}