Template:Dfn: Difference between revisions
Appearance
m href parameter |
internationalization - language parameter, aliases |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><mark class="hue">{{#if:{{{E|}}}|{{Ontology:{{{E|}}}|{{{1|}}}|class={{{class|}}}|I={{{I|}}}|href={{{href|}}}}}|<dfn>{{{1|}}}</dfn>}}</mark></onlyinclude></includeonly><!-- | <includeonly><onlyinclude><mark class="hue">{{#if:{{{E|}}}|{{Ontology:{{{E|}}}|{{{1|}}}|lang={{{lang|mis}}}|class={{{class|}}}|I={{{I|}}}|href={{{href|}}}}}|<dfn>{{{1|}}}</dfn>}}</mark></onlyinclude></includeonly><!-- | ||
easier to read version: | easier to read version: | ||
{{#if:{{{E|}}} | {{#if:{{{E|}}} | ||
|{{Ontology:{{{E|}}} | {{{1|}}} | class = {{{class|}}} | I = {{{I|}}} | href = {{{href|}}} }} | |{{Ontology:{{{E|}}} | {{{1|}}} | lang = {{{lang|mis}}} | class = {{{class|}}} | I = {{{I|}}} | href = {{{href|}}} }} | ||
|<dfn>{{{1|}}}</dfn>}} | |<dfn>{{{1|}}}</dfn>}} | ||
--> | --> | ||
| Line 10: | Line 10: | ||
{{HueCSS}} | {{HueCSS}} | ||
<div class="hue data_pkmn series_pkmn"> | <div class="hue data_pkmn series_pkmn"> | ||
{{dfn|Dragonite}}, a generation 1 {{dfn|Dragon-type Pokémon|E=Q10,9,16|I=S1/PkMn-D}}, is the {{dfn|colorless type|E=Q10,8,01|I=S1/PkMn-N}} in the Pokémon TCG | {{dfn|Dragonite}}, a generation 1 {{dfn|Dragon-type Pokémon|E=Q10,9,16|I=S1/PkMn-D}}, is the {{dfn|colorless type|E=Q10,8,01|I=S1/PkMn-N}} in the Pokémon TCG | ||
<span lang="ja">カイリュウとは、カントー{{振|ちほう|地方}}の{{dfn|ドラゴンタイプのポケモン|E=Q10,9,16|I=S1/PkMn-D}}で、ポケモンカードゲームでは{{dfn|{{振|むしょく|無色}}タイプ|E=Q10,8,01|I=S1/PkMn-N}}のポケモンである。</span> | |||
</div> | </div> | ||
| Line 21: | Line 25: | ||
== Internal templates == | == Internal templates == | ||
* [[Template: | * [[Template:dfn/css]] - used in testing template; will be added to hue.css later | ||
== Language-specific aliases == | |||
* [[Template:concept]] - displays Item as in-text highlighter, assuming English language (this becomes required when an Item has labels in multiple languages) | |||
* [[Template:概念]] (ja) - displays Item assuming Japanese language | |||
* [[Template:Begriff]] (de) - displays Item assuming German language | |||
* [[Template:conception]] (fr) - displays Item assuming French language. if you want to use [[Template:concept]], add <code>lang=fr</code> | |||
[[Category:Templates for markup]] {{ArticleTitle|NoContents=y}} | [[Category:Templates for markup]] {{ArticleTitle|h1=Template:dfn|NoContents=y}} | ||
Revision as of 01:42, 7 March 2026
Demo
Dragonite, a generation 1 Dragon-type Pokémon (Pokémon) 1-1-1, is the colorless type (Pokémon) 1-1-1 in the Pokémon TCG
カイリュウとは、カントーの ドラゴンタイプのポケモン (Pokémon) 1-1-1で、ポケモンカードゲームでは タイプ (Pokémon) 1-1-1のポケモンである。
Description
Parameters
Internal templates
- Template:dfn/css - used in testing template; will be added to hue.css later
Language-specific aliases
- Template:concept - displays Item as in-text highlighter, assuming English language (this becomes required when an Item has labels in multiple languages)
- Template:概念 (ja) - displays Item assuming Japanese language
- Template:Begriff (de) - displays Item assuming German language
- Template:conception (fr) - displays Item assuming French language. if you want to use Template:concept, add
lang=fr