Template:Cite: Difference between revisions
Appearance
m Reversedragon moved page Template:Book to Template:Cite: Abbreviating long subpage to shorter path: I keep typoing book as cite tag anyway |
m move finer logic to Template:TTS |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ | <includeonly><onlyinclude>{{TTS|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}|html=cite|{{{1|}}}}}</onlyinclude></includeonly><!-- | ||
| | |||
}}</onlyinclude></includeonly><!-- | |||
--> | --> | ||
== Demo == | == Demo == | ||
| Line 14: | Line 9: | ||
== Description == | == Description == | ||
This is a template for referring to book titles in HTML5, using the <code>cite</code> tag and optionally the book's Ontology page. It | This is a template for referring to book titles in HTML5, using the <code>cite</code> tag and optionally the book's Ontology page. | ||
It has two slightly contradictory goals: | |||
* To leave "fewer things to remember" for new users who may be novices to HTML5 but just got done learning wikitext. | |||
* To make long lists of miscellaneous works more intuitive by allowing the <code>cite</code> tag to semantically specify what medium the work is. This template can be called as either <code>cite</code>, <code>book</code>, <code>film</code>, or <code>game</code>, and it will be the same template. | |||
[[Category:Templates for markup]] | [[Category:Templates for markup]] | ||
<!-- redirects: [[Template:cite]] [[Template:book]] [[Template:film]] [[Template:game]] --> | |||
Latest revision as of 21:18, 26 September 2025
Demo[edit]
Description[edit]
This is a template for referring to book titles in HTML5, using the cite tag and optionally the book's Ontology page.
It has two slightly contradictory goals:
- To leave "fewer things to remember" for new users who may be novices to HTML5 but just got done learning wikitext.
- To make long lists of miscellaneous works more intuitive by allowing the
citetag to semantically specify what medium the work is. This template can be called as eithercite,book,film, orgame, and it will be the same template.