Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Refurl"

From PCGamingWiki, the wiki about fixing PC games
m (converted snippet to hard HTML elements to counteract the wiki parser screwing up on newlines)
m (test newline for snippet to apply proper wiki formatting as well)
Line 1: Line 1:
 
<includeonly>[{{{url}}} {{{title}}}] - last accessed on {{{date}}}{{#if: {{{snippet|}}} |
 
<includeonly>[{{{url}}} {{{title}}}] - last accessed on {{{date}}}{{#if: {{{snippet|}}} |
<dl><dd>"<i>{{{snippet}}}</i>"</dd></dl>}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
<dl><dd>"<i>
 +
{{{snippet}}}
 +
</i>"</dd></dl>}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 09:20, 16 May 2020

Documentation for the above template (sometimes hidden from view).
Description

Template to be used in references that link to a page and (optionally) directly cite the relevant information. Needs to be used with ref tags.

Arguments
  • url - full URL to page, including protocol. E.g. http://example.org
  • title - the title of the page, to be used as the visible link. E.g. Example Domain
  • date - date when the page was accessed and used as a reference in YYYY-MM-DD format.
  • snippet (optional) - citation from the source.
Syntax
{{Refurl|url=|title=|date=}}
Example

{{Refurl|url=http://example.org|title=Example Domain|date=2012-12-21}}

Example Domain - last accessed on 2012-12-21

Syntax (snippet)
{{Refurl|url=|title=|date=|snippet=}}
Example (snippet)

{{Refurl|url=http://example.org|title=Example Domain|date=2012-12-21|snippet=This domain is established to be used for illustrative examples in documents.}}

Example Domain - last accessed on 2012-12-21
" This domain is established to be used for illustrative examples in documents. "