Difference between revisions of "Template:Contact"

From OWASP
Jump to: navigation, search
m (Protected "Template:Contact": High traffic page: This page is a template used in over 2000 places on the OWASP wiki. Locked to prevent accidental edits by inexperienced users. (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{name|}}} | {{#if: {{{username|}}} | [[User:{{{username}}} {{Template:!}} {{{name}}}]] | {{{name}}} }} | }} {{#if: {{{email|}}} | [mailto:{{{email}}} @] | }}</includeonly><noinclude>
+
<includeonly>{{#if: {{{name|}}} | {{#if: {{{username|}}} | [[User:{{{username}}} {{Template:!}} {{{name}}}]] | {{{name}}} }} | }} {{#if: {{{email|}}} | [mailto:{{{email}}} @] | }}</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. The wiki user name is used to link directly to the Wiki User's page (e.g. User: John Doe) and the email address appears as a linked '@' sign after the display name.
===='''For further improvements or any bug reporting please email the project leader.'''====
+
 
===='''Contribution to the OWASP Port Scanner is also welcomed.'''====
+
=== Usage ===
===='''Please forward your contribution, bugs (if any) or improvement suggestions to the following email.'''====
+
<pre>
====* {{Template:Contact | name = Bhavesh Naik | email = bhavesh.naik@owasp.org | username = Bhavesh Naik }}====
+
{{Template:Contact
 +
| name = John Doe
 +
| email =john.doe@example.com
 +
| username = owasp
 +
}}
 +
</pre>
 +
 
 +
=== Example ===
 +
<pre>
 +
* {{Template:Contact | name = John Doe | email = john.doe@example.com }}
 +
</pre>
 +
* {{Template:Contact | name = John Doe | email = john.doe@example.com }}
 
[[Category: GPC Templates]]</noinclude>
 
[[Category: GPC Templates]]</noinclude>

Latest revision as of 11:56, 11 September 2013

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. The wiki user name is used to link directly to the Wiki User's page (e.g. User: John Doe) and the email address appears as a linked '@' sign after the display name.

Usage

{{Template:Contact
| name = John Doe
| email =john.doe@example.com
| username = owasp
}}

Example

* {{Template:Contact | name = John Doe | email = john.doe@example.com }}
  • John Doe @