Difference between revisions of "Template:Origin website"

From 3000GT/Stealth Wiki
Jump to navigation Jump to search
m (Added conditions #3)
m (Typo fix)
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:3S_Wiki_Templates]]
 
[[Category:3S_Wiki_Templates]]
 
==Overview==
 
==Overview==
This template is used to give proper credit to articles that originate elsewhere on the web.
+
This template is used to give proper credit to articles that originated elsewhere on the web.
  
 
==Display==
 
==Display==
 
{{Origin website
 
{{Origin website
| author_username=Stealthify
+
| author_name=Jeff Lucius
| author_real_name=Test
 
 
| website_address=http://www.stealth316.com
 
| website_address=http://www.stealth316.com
 
| website_title=Stealth 316 3000GT/Stealth Home
 
| website_title=Stealth 316 3000GT/Stealth Home
Line 16: Line 15:
  
 
  '''<nowiki>{{Origin website
 
  '''<nowiki>{{Origin website
| author_username=
+
| author_name=
| author_real_name=
 
 
| website_address=
 
| website_address=
 
| website_title=
 
| website_title=
Line 23: Line 21:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div class="origin-info">This article originated from {{#if: {{{website_address|}}} | a page on {{{website_address}}} | another website}} {{#if:{{{author_username}}}|{{#if:{{{author_real_name}}}|by {{{author_real_name}}}|by {{{author_username}}}|}}</div>
+
<div class="origin-info">This article originated from a page on {{#if:{{{website_title|}}}|[{{{website_address}}} {{{website_title}}}]|[{{{website_address}}}]}} {{#if:{{{author_name|}}}|by {{{author_name}}}.|}}</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 04:34, September 3, 2012

Overview[edit]

This template is used to give proper credit to articles that originated elsewhere on the web.

Display[edit]

This article originated from a page on Stealth 316 3000GT/Stealth Home by Jeff Lucius.


Usage[edit]

To add this origin footer to an article, simply copy and paste the following and add the values accordingly:

{{Origin website
| author_name=
| website_address=
| website_title=
}}