Difference between revisions of "Template:Origin website"

From 3000GT/Stealth Wiki
Jump to navigation Jump to search
m (Display fix test)
m (Typo fix)
 
(16 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=Jeff Lucius
+
| author_name=Jeff Lucius
| author_real_name=Jeff Lucius
 
 
| 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
 
}}
 
}}
 
<div class="origin-info">This article originated from a page on <anchor url='http://www.stealth316.com' target='_blank'>Stealth 316 3000GT/Stealth Home</anchor> by Jeff Lucius.</div>
 
  
 
==Usage==
 
==Usage==
Line 18: Line 15:
  
 
  '''<nowiki>{{Origin website
 
  '''<nowiki>{{Origin website
| author_username=
+
| author_name=
| author_real_name=
 
 
| website_address=
 
| website_address=
 
| website_title=
 
| website_title=
Line 25: Line 21:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div class="origin-info">This article originated from a page on <a href="{{{website_address|http://www.3swiki.org}}}" target="_blank" title="Visit {{{website_title|3SWiki.org}}}" rel="nofollow">{{{website_title|3SWiki.org}}}</a> by {{{author_username|Unknown}}}.</div></includeonly>
+
<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>

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=
}}