Template:InterwikiArticle: Difference between revisions

valigned spans instead of table, null alt text for image w/ same information as nearby word
(presentation role for layout table, CSS property "spacing" doesn't exist)
(valigned spans instead of table, null alt text for image w/ same information as nearby word)
Line 1: Line 1:
{| class="noprint" role="presentation" style="clear:right; border:2px solid #{{InterwikiColour|{{{prefix}}}}}; margin:0 0 1em 1em; font-size:90%; background:#{{InterwikiColour|{{{prefix}}}|bg}}; width:200px; text-align:left; float:right; font-style:italic;"
<div class="noprint" style="clear:right; float:right; margin:0 0 1em 1em; border:2px solid #{{InterwikiColour|{{{prefix}}}}}; padding:0.1em; background:#{{InterwikiColour|{{{prefix}}}|bg}}; font-size:90%; text-align:left; font-style:italic; white-space:nowrap;"><!--
|-
--><span style="display:inline-block; vertical-align:middle; margin-right:0.1em;"><!--
|[[Image:{{{image|SmashBrosSymbol}}}.svg|50px|link=]]
    -->[[Image:{{{image|SmashBrosSymbol}}}.svg|50px|alt=|link=]]<!--
|'''[[{{{prefix}}}:Main Page|{{{wikiname}}}]]''' has an article on {{#if:{{{page|}}}|{{#if: {{{link|}}}|[[{{{prefix}}}:{{{page}}}{{!}}{{{link}}}]]|[[{{{prefix}}}:{{{page}}}{{!}}{{{page}}}]]}}|[[{{{prefix}}}:{{PAGENAME}}{{!}}{{PAGENAME}}]]}}.
--></span><!--
|}<noinclude>
--><span style="display:inline-block; vertical-align:middle; width:12.2em; white-space:normal;"><!--
    -->'''[[{{{prefix}}}:Main Page|{{{wikiname}}}]]''' has an article on {{#if:{{{page|}}}|{{#if: {{{link|}}}|[[{{{prefix}}}:{{{page}}}{{!}}{{{link}}}]]|[[{{{prefix}}}:{{{page}}}{{!}}{{{page}}}]]}}|[[{{{prefix}}}:{{PAGENAME}}{{!}}{{PAGENAME}}]]}}.<!--
--></span>
</div><noinclude>
This template is not meant to be used on its own. Use something else from the [[:Category:Interwiki templates|interwiki templates category]].
This template is not meant to be used on its own. Use something else from the [[:Category:Interwiki templates|interwiki templates category]].
[[Category:Interwiki templates|{{PAGENAME}}]][[Category:Meta-templates|{{PAGENAME}}]]
[[Category:Interwiki templates|{{PAGENAME}}]][[Category:Meta-templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
703

edits