Template:Ref/Site: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{Ref|Text=[{{{URL}}} ''{{{SiteName}}}'' - {{#if:{{{Section|}}}|''{{{Section}}}'', }}{{{PageName}}}]{{#if:{{{Detail|}}}| ({{{Detail}}})|{{#if:{{{Quote|}}}|<nowiki/> (''"{{{Quote}}}"''{{#if:{{{QuotedPerson|}}}|<nowiki/> - {{{QuotedPerson}}}}})}}}}|Name={{#if:{{{RefName|{{{Id|}}}}}}|{{{RefName|{{{Id}}}}}}}}}}</includeonly><noinclude>
<includeonly>{{Ref|Text=[{{{URL}}} ''{{{SiteName}}}'' - {{#if:{{{Section|}}}|''{{{Section}}}'', }}{{{PageName}}}]{{#if:{{{Detail|}}}| ({{{Detail}}})|{{#if:{{{Quote|}}}|<nowiki/> (''"{{{Quote}}}"''{{#if:{{{QuotedPerson|}}}|<nowiki/> - {{{QuotedPerson}}}}})}}}}|Name={{#if:{{{RefName|{{{Id|}}}}}}|{{{RefName|{{{Id}}}}}}}}}}</includeonly><noinclude>{{Documentation}} [[Category:Reference templates]]
 
 
==Usage==
This template should be used when citing websites or articles. For other citation templates, see [[Template:Ref]]. For more reference templates, see [[Template:Ref]].
 
<pre><nowiki>
{{Ref/Site
|RefName=
|URL=
|SiteName=
|PageName=
|Detail=
|Quote=
}}</nowiki></pre>
 
===Fields===
{| width=100%
!Field Name
!Optional or Required?
!Description
!Example
|-
|'''URL'''
|'''Required'''
|The URL of the website being cited.
|<nowiki>https://www.halowaypoint.com/en-us/community/blog-posts/canon-fodder-ship-happens</nowiki>
|-
|'''SiteName'''
|'''Required'''
|The name of the website being cited.
|Halo Waypoint
|-
|'''Section'''
|''Optional''
|The section of the website the article or page is filed under.
|Canon Fodder
|-
|'''PageName'''
|'''Required'''
|The name of the page or article.
|Ship Happens
|-
|'''Detail'''
|''Optional''
|Used to clarify any extra details about the citation.
|A new type of Covenant ship, the DSC-class support ship, is featured in Halo: Fleet Battles.
|-
|'''Quote'''
|''Optional''
|When citing a particular quote from the page or article, this should be used. However, it '''cannot''' be used if the <code>Details</code> field is used.
|...in others we could provide detailed concept and reference but no models (DSC Support Ship)...
|}
[[Category:Reference templates]]
</noinclude>
</noinclude>

Revision as of 11:35, June 20, 2020