Template:Ref/Bluesky: Difference between revisions
From Halopedia, the Halo wiki
(Created page with "<includeonly>{{#if:{{{Id|}}} |<!-- REF HAS ID -->{{#tag:ref |[https://bsky.app/profile/{{urlencode:{{{1|{{{Tag}}}}}}}}/post/{{urlencode:{{{2|{{{Code}}}}}}}} ''Bluesky'', {{#if:{{{3|{{{Name|}}}}}}|{{{3|{{{Name}}}}}} (@{{{1|{{{Tag}}}}}})|@{{{1|{{{Tag}}}}}}}}]{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quot...") |
mNo edit summary |
||
Line 5: | Line 5: | ||
}} | }} | ||
|<!-- REF LACKS ID -->{{#tag:ref | |<!-- REF LACKS ID -->{{#tag:ref | ||
|[https://bsky.app/profile/{{urlencode:{{{1|{{{Tag}}}}}}}}/post/{{urlencode:{{{2|{{{Code}}}}}}}} '' | |[https://bsky.app/profile/{{urlencode:{{{1|{{{Tag}}}}}}}}/post/{{urlencode:{{{2|{{{Code}}}}}}}} ''Bluesky'', {{#if:{{{3|{{{Name|}}}}}}|{{{3|{{{Name}}}}}} (@{{{1|{{{Tag}}}}}})|@{{{1|{{{Tag}}}}}}}}]{{#if:{{{Detail|{{{Quote|}}}}}}|<nowiki>:</nowiki> {{{Detail|}}}{{#if:{{{Quote|}}}|<nowiki> </nowiki>''"{{{Quote}}}"''{{#if:{{{Quotee|}}}|<nowiki> - </nowiki>{{#uniquelinkifexists:{{{Quotee}}}|{{{QuoteeLinkText|{{{Quotee}}}}}}|ref}}}}}}}} <small>{{#if:{{{Y|{{{Year|}}}}}}|(Retrieved on {{#time:M j, Y|{{{Y|{{{Year}}}}}}{{#if:{{{M|{{{Month|}}}}}}|-{{{M|{{{Month}}}}}}{{#if:{{{D|{{{Day|}}}}}}|-{{{D|{{{Day}}}}}}}}}}}})}} {{#if:{{{NoArchive|}}}||{{#if:{{{Y|{{{Year|}}}}}}{{{ArchiveURL|}}}|[{{#if:{{{ArchiveURL|}}}|{{{ArchiveURL}}}|https://web.archive.org/web/{{#time:Ymd|{{{Y|{{{Year}}}}}}{{#if:{{{M|{{{Month|}}}}}}|-{{{M|{{{Month}}}}}}{{#if:{{{D|{{{Day|}}}}}}|-{{{D|{{{Day}}}}}}}}}}}}000000/https://bsky.app/profile/{{{1|{{{Tag}}}}}}/post/{{{2|{{{Code}}}}}}}} <nowiki>[archive]</nowiki>]}}}} {{#if:{{{LocalArchive|}}}|{{#ifexist:{{{LocalArchive}}}|[[{{{LocalArchive}}}|<nowiki>[Halopedia archive]</nowiki>]]|[{{{LocalArchive}}} <nowiki>[Halopedia archive]</nowiki>]}}}}</small> | ||
}} | }} | ||
}}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> | }}</includeonly><noinclude>{{Doc/Template}} [[Category:Reference templates]]</noinclude> |
Latest revision as of 07:40, November 21, 2024
Usage
This template should be used when referencing Bluesky posts. For other citation templates, see Template:Ref. For more reference templates, see Template:Ref.
{{Ref/Bluesky |Id= |Tag= |Code= |Name= |Detail= |Quote= |Quotee= |Year= |Month= |Day= |QuoteeLinkText= |LocalArchive= }}
Fields
Field Name | Optional or Required? | Description | Example |
---|---|---|---|
Id | Recommended | An ID for the reference, so it can be reused. Make it tied to the source so it does not conflict with other IDs. Always put this at the start. While not Required it is recommended to give every source a unique Id for future use.
|
HW2OSG |
1 (unnamed) | Required | Tag, Bluesky handle | |
2 (unnamed) | Required | Code, url after post/ | |
3 (unnamed) | Required | Name, name of user | |
Detail | Optional | ||
Quote | Optional | ||
Quotee | Optional | ||
QuoteeLinkText | Optional | ||
Y | Optional | Year that the reference was archived | |
M | Optional | Month that the reference was archived | |
D | Optional | Day that the reference was archived | |
ArchiveURL | Optional | ||
LocalArchive | Optional |