Différences entre les versions de « Modèle:Human »

De Semantic MediaWiki - Sandbox

(Page créée avec « <noinclude><pre>{{Human |display as=... |portrait=... |description=... |ndlid=... }}</pre></noinclude><includeonly> {| cellspacing="0" cellpadding="5" style="position:... »)
 
 
(5 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<noinclude><pre>{{Human
+
<noinclude></noinclude><includeonly><div style="float: right; clear: right; max-width: 211px; ">
|display as=...
+
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 5px 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; "
|portrait=...
 
|description=...
 
|ndlid=...
 
}}</pre></noinclude><includeonly>
 
{| cellspacing="0" cellpadding="5" style="position:relative; margin: 5px 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 211px; "
 
 
! colspan="2" style="background: lightgray; color: darkblue" |[[Has common name::{{{Name|{{FULLPAGENAME}} }}}]]
 
! colspan="2" style="background: lightgray; color: darkblue" |[[Has common name::{{{Name|{{FULLPAGENAME}} }}}]]
 
|-
 
|-
Ligne 12 : Ligne 7 :
 
{{Tablelongrow|Value=Classification|Color=#FF9D43}}
 
{{Tablelongrow|Value=Classification|Color=#FF9D43}}
 
|-
 
|-
{{#ifeq:{{{description|}}}|||{{Tablerow|Style=min-width:50px;|Label=Has description:|Value=<span style="word-wrap: break-word; word-break: break-word;">{{#set:|Has description={{{description}}}|+sep=,|template=LinkToValue}}</span> }}}}
+
{{#ifeq:{{{description|}}}|||{{Tablerow|Style=min-width:50px;|Label=[[Has description::@@@]]:|Value=<span style="">{{#set:|Has description={{{description}}}|+sep=,|template=LinkToValue}}</span> }}}}
 +
|-
 +
{{#ifeq:{{{also known as|}}}|||{{Tablerow|Style=min-width:50px;|Label=[[P1449::@@@]]:|Value=<span style="">{{#set:|P1449={{{also known as}}}|+sep=,|template=LinkToValue}}</span> }}}}
 +
|-
 +
{{#ifeq:{{{occupation|}}}|||{{Tablerow|Label=[[P106::@@@]]:|Value=<span style="">{{#set:|P106={{{occupation}}}|+sep=,|template=LinkToAskQueryWithParameter}}</span> }}}}
 +
|-
 +
{{#ifeq:{{{genre|}}}|||{{Tablerow|Label=[[P136::@@@]]:|Value=<span style="">{{#set:|P136={{{genre}}}|+sep=,|template=LinkToAskQueryWithParameter}}</span> }}}}
 +
|-
 +
{{#ifeq:{{{place of birth|}}}|||{{Tablerow|Label=[[P19::@@@]]:|Value=<span style="">{{#set:|P19={{{place of birth}}}|+sep=,|template=LinkToValue}}</span> }}}}
 +
|-
 +
{{#ifeq:{{{date of birth|}}}|||{{Tablerow|Label=[[P569::@@@]]:|Value=<span style="">{{#set:|P569={{{date of birth}}}|+sep=,|template=LinkToValue}}</span> }}}}
 +
|-
 +
{{#ifeq:{{{date of death|}}}|||{{Tablerow|Label=[[P570::@@@]]:|Value=<span style="">{{#set:|P570={{{date of death}}} |template=LinkToValue}}</span> }}}}
 
|-
 
|-
 
{{Tablelongrow|Value=Authority control|Color=#FF9D43}}
 
{{Tablelongrow|Value=Authority control|Color=#FF9D43}}
 
|-
 
|-
{{#ifeq:{{{ndlid|}}}|||{{Tablerow|Label=NDL ID:|Value=<span style="word-wrap: break-word;  word-break: break-word;">{{#set:|NDL ID={{{ndlid}}} |template=LinkToValue}}</span> }}}}
+
{{#ifeq:{{{ndlid|}}}|||{{Tablerow|Label=[[NDL ID::@@@]]:|Value=<span style="">{{#set:|NDL ID={{{ndlid}}} |template=LinkToValue}}</span> }}}}
 
|-
 
|-
 
{{Tablelongrow|Value=<small>''[[Template:Human|More info on this template]]''</small>|Color=#FF9D43}}
 
{{Tablelongrow|Value=<small>''[[Template:Human|More info on this template]]''</small>|Color=#FF9D43}}
 
|-
 
|-
|}[[Category:Human]] {{DISPLAYTITLE:{{{display as}}} }} {{DEFAULTSORT:{{{display as}}} }} __NOFACTBOX__</includeonly>
+
|}</div>[[Category:Human]] {{DISPLAYTITLE:{{{display as}}} }} {{DEFAULTSORT:{{{display as}}} }} __NOFACTBOX__</includeonly>

Dernière version du 4 mars 2017 à 04:28

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.