703
edits
Rigel Kent (talk | contribs) (prevent duplicate alternateName if realname=name or realname=PAGENAME) |
Rigel Kent (talk | contribs) (support multiple alias parameters for structured data) |
||
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:{{NAMESPACE}}|Smasher|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 {{#ifeq:{{{name|{{PAGENAME}}}}}|{{{realname}}}||itemprop="{{#if:{{{realname|}}}|alternateName|name}}"}}>{{{name|{{PAGENAME}}}}}</span>{{# | <div style="margin:.3em; background-color: #eee; font-size:130%; font-weight:bold"><!-- | ||
--><span {{#ifeq:{{{name|{{PAGENAME}}}}}|{{{realname}}}||itemprop="{{#if:{{{realname|}}}|alternateName|name}}"}}><!-- | |||
-->{{{name|{{PAGENAME}}}}}<!-- | |||
--></span><!-- | |||
-->{{#forargs:alias||a| | |||
 "<i itemprop="alternateName">{{#var:a}}</i>" | |||
}} | |||
</div> | |||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<div {{#ifeq:{{NAMESPACE}}|Smasher|itemprop="image" itemscope itemtype="http://schema.org/ImageObject"}}> | <div {{#ifeq:{{NAMESPACE}}|Smasher|itemprop="image" itemscope itemtype="http://schema.org/ImageObject"}}> |
edits