Template:Infobox Smasher: Difference between revisions

m
image microdata url correction
(microdata in Smasher namespace only)
m (image microdata url correction)
Line 1: Line 1:
<noinclude>{{Infobox Smasher/doc}}</noinclude><includeonly><div role="complementary" aria-label="Infobox" class="infobox" style="box-sizing:border-box;width: 21em;font-size:90%;text-align:center" {{#ifeq:{{NAMESPACENUMBER}}|100|itemscope itemtype="http://schema.org/Person"}}>
<noinclude>{{Infobox Smasher/doc}}</noinclude><includeonly><div role="complementary" aria-label="Infobox" class="infobox" style="box-sizing:border-box;width: 21em;font-size:90%;text-align:center" {{#ifeq:{{NAMESPACE}}|Smasher|itemscope itemtype="http://schema.org/Person"}}>
<div style="margin:.3em; background-color: #eee; font-size:130%; font-weight:bold"><span itemprop="{{#if:{{{realname|}}}|alternateName|name}}">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{alias|}}}|&nbsp;"<i itemprop="alternateName">{{{alias}}}</i>"}}</div>
<div style="margin:.3em; background-color: #eee; font-size:130%; font-weight:bold"><span itemprop="{{#if:{{{realname|}}}|alternateName|name}}">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{alias|}}}|&nbsp;"<i itemprop="alternateName">{{{alias}}}</i>"}}</div>
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div {{#ifeq:{{NAMESPACENUMBER}}|100|itemprop="image" itemscope itemtype="http://schema.org/ImageObject"}}>
<div {{#ifeq:{{NAMESPACE}}|Smasher|itemprop="image" itemscope itemtype="http://schema.org/ImageObject"}}>
<link itemprop="url" href="{{fullurl:File:{{{image}}}}}" />[[File:{{{image}}}|160px|center|{{PAGENAME}}]]
<link itemprop="url" href="{{filepath:{{{image}}}}}" />[[File:{{{image}}}|160px|center|{{PAGENAME}}]]
</div>
</div>
{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|
703

edits