User:Pathoschild/Metadata

From Wikisource
Jump to navigation Jump to search
{{{title}}}
by [[Author:{{{author}}}|{{{author}}}]], translated by [[Author:{{{translator}}}|{{{translator}}}]]
{{{current section}}}
191022{{{title}}} — {{{current section}}}{{{translator}}}{{{author}}}

Documentation[edit]

{{page metadata
 |title              = 
 |author             = 
 |translator         = 
 |current section    = 
 |previous section   = 
 |next section       = 
 |year published     = 
 |location published = 
 |license            = 
 |edition notes      = 
}}

This is just an experiment, for a hypothetical template with detailed metadata that simultaneously builds the page header, categorizes the page, and inserts machine-readable metadata into the page source code.

Examples[edit]

Gettysburg Address[edit]

{{page metadata
 |title              = Gettysburg Address
 |author             = Abraham Lincoln
 |translator         = 
 |current section    = 
 |previous section   = 
 |next section       = 
 |year published     = 
 |location published = 
 |license            = PD-old
 |edition notes      = ←[[Wikisource:Speeches]]<br />''The Gettysburg Address...
}}
Gettysburg Address
by Abraham Lincoln
191022Gettysburg AddressAbraham Lincoln