Template:Cite: Difference between revisions
Appearance
m lang parameter |
m make link optional |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{TTS|lang={{{lang|}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}|html=cite|{{{1|}}}}}</onlyinclude></includeonly><!-- | <includeonly><onlyinclude>{{#if:{{{tts|}}}{{{lang|}}}{{{href|}}}{{{E|}}} | {{TTS|lang={{{lang|}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}|html=cite|{{{1|}}}}} | <cite>{{{1|}}}</cite> }}</onlyinclude></includeonly><!-- | ||
more readable version: | |||
{{#if:{{{tts|}}}{{{lang|}}}{{{href|}}}{{{E|}}} | |||
| {{TTS|lang={{{lang|}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}|html=cite|{{{1|}}}}} | |||
| <cite>{{{1|}}}</cite> }} | |||
--> | --> | ||
== Demo == | == Demo == | ||
| Line 6: | Line 12: | ||
{{book|The Excessive Subject|E=Q1980}} | {{book|The Excessive Subject|E=Q1980}} | ||
=== Number list === | |||
{{HueCSS}}<ol class="hue clean"> | |||
{{li|I=Z1/Fy|Q=76,17|Q2=7617}}{{game|Deltarune|E=Q7617}} | |||
</li></ol> | |||
== Description == | == Description == | ||
Latest revision as of 05:19, 9 May 2026
Demo
Number list
Description
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.