Template:Src

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search

Src

A citation that is also structured data.

Each {{Src}} renders a small marker the reader can follow, and records the citation as a Semantic MediaWiki subobject. The second half is the point: rendering a footnote is easy, but asking "every claim on this wiki attested by somebody who was actually on the record" needs structure behind the marker.

Source types

Type Parameters Cites
video cid=, t= A specific moment in an archived video
edit oldid=, by= A particular revision, by someone in a position to know
chain tx= or block= An on-chain fact
testimony by=, rel= First-party assertion
recording page=, label= A release or recording as a whole
published url=, title= An ordinary off-wiki source

Usage

He tunes down a half step for this one.{{Src|video|cid=Bafybei...|t=14:32}}
He's played the Loar since 2019.{{Src|testimony|by=JMyles|rel=participant}}
The token was minted before the festival.{{Src|chain|block=25763516}}
Corrected by someone who was there.{{Src|edit|oldid=5401|by=JMyles}}

On timecodes

t= accepts 14:32, 1:02:03, or a bare number of seconds. Following a video citation lands on the Release page with the player already seeked to that second, via the #t= fragment that the HLS player gadget reads.

An unparseable t= degrades to a citation without a timecode rather than breaking the page — a typo should not cost the reader the sentence.

Why not <ref>

A named <ref> is byte-identical everywhere it is reused, so it cannot express "this video at 14:32" and "the same video at 21:07". Resource-plus-offset is the ordinary case on PickiPedia, not an edge case.

Testimony is a first-class type

testimony exists so that "this is my band and I know we're playing Bob's next Tuesday" can be recorded honestly as what it is, rather than either excluded or dressed up as a published source. Its weight comes from who said it — which is what the trust graph is for.

See also