Template:Cite Offline: Difference between revisions

From Everybody Edits Wiki
Jump to navigation Jump to search
m well that was stupid
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{shorthand|}}}|{{Cite|
{{#if:{{{shorthand|}}}|{{Cite|
url=https://github.com/Seb-135/ee-offline/blob/main/media/{{{shorthand|}}}|
url=https://github.com/Seb-135/ee-offline/blob/main/{{{shorthand|}}}|
title={{{title|}}}|
title={{{title|}}}|
archive={{{archive|}}}|
archive={{{archive|}}}|
Line 6: Line 6:
date={{{date|}}}
date={{{date|}}}
}}}}<noinclude>
}}}}<noinclude>
== Description ==
Invokes the [[Template:Cite|Cite]] template to create a citation of the [[Everybody Edits Offline]] GitHub repository, for use in references. Has several optional parameters for better citations.
Invokes the [[Template:Cite|Cite]] template to create a citation of the [[Everybody Edits Offline]] GitHub repository, for use in references. Has several optional parameters for better citations.


== Usage ==
== Usage ==
<code><nowiki><ref>{{CiteOffline|shorthand=|archive=|title=|date=}}</ref></nowiki></code>
<code><nowiki><ref>{{Cite Offline|shorthand=|archive=|title=|date=}}</ref></nowiki></code>


=== Parameters ===
=== Parameters ===
Line 15: Line 16:
: '''Required'''. Shorthand URL of the repository file being cited (e.g. <code>media/titlescreen.png</code>).
: '''Required'''. Shorthand URL of the repository file being cited (e.g. <code>media/titlescreen.png</code>).
; <code>archive</code>
; <code>archive</code>
: '''Optional'''. Archived URL of the repository file being cited. Lack of this adds the [[:Category:Pages with unarchived citations|Pages with unarchived citations]] category.
: '''Optional'''. Archived URL of the repository file being cited. Lack of this adds the [[:Category:Pages with unarchived citations|Pages with unarchived citations]] category. Setting this to <code>true</code> assumes the main URL is an archived URL.
; <code>title</code>
; <code>title</code>
: '''Optional'''. Title the repository file being cited. Displays in place of the URL, surrounded by quotations, if present.
: '''Optional'''. Title the repository file being cited. Displays in place of the URL, surrounded by quotations, if present.
Line 21: Line 22:
: '''Optional'''. Date the repository file was committed.
: '''Optional'''. Date the repository file was committed.


[[Category:Templates]]
[[Category:Citation templates]]
[[Category:Citation templates]]
</noinclude>
</noinclude>

Latest revision as of 04:04, 25 April 2026

Description

Invokes the Cite template to create a citation of the Everybody Edits Offline GitHub repository, for use in references. Has several optional parameters for better citations.

Usage

<ref>{{Cite Offline|shorthand=|archive=|title=|date=}}</ref>

Parameters

shorthand
Required. Shorthand URL of the repository file being cited (e.g. media/titlescreen.png).
archive
Optional. Archived URL of the repository file being cited. Lack of this adds the Pages with unarchived citations category. Setting this to true assumes the main URL is an archived URL.
title
Optional. Title the repository file being cited. Displays in place of the URL, surrounded by quotations, if present.
date
Optional. Date the repository file was committed.