Template:Mf-adr: Difference between revisions

From UmbraXenu
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{#ifeq:{{{inadr|+}}}|{{{inadr|-}}}|<span>|<span class="adr">}}{{#if:{{{street|}}}|<span class="street-address">{{{street}}}</span>,&#32;|}}{{#if:{{{extend|}}}|<span class="extended-address">{{{extend}}}</span>,&#32;|}}{{#if:{{{city|}}}|<span class="locality">{{{city}}}</span>,&#32;|}}{{#if:{{{region|}}}|<span class="region">{{{region}}}</span>,&#32;|}}{{#if:{{{pocode|}}}|<span class="postal-code">{{{pocode}}}</span>,&#32;|}}{{#if:{{{nation|}}}|<span class="country-name">{{{nation}}}</span>|}}</span><noinclude>{{Documentation}}
{{#ifeq:{{{inadr|+}}}|{{{inadr|-}}}|<span>|<span class="adr">}}{{#if:{{{street|}}}|<span class="street-address">{{{street}}}</span>,&#32;|}}{{#if:{{{extend|}}}|<span class="extended-address">{{{extend}}}</span>,&#32;|}}{{#if:{{{pobox|}}}|<span class="post-office-box">{{{pobox}}}</span>,&#32;|}}{{#if:{{{city|}}}|<span class="locality">{{{city}}}</span>,&#32;|}}{{#if:{{{region|}}}|<span class="region">{{{region}}}</span>,&#32;|}}{{#if:{{{pocode|}}}|<span class="postal-code">{{{pocode}}}</span>,&#32;|}}{{#if:{{{nation|}}}|<span class="country-name">{{{nation}}}</span>|}}</span><noinclude>{{Documentation}}
[[Category:Templates generating ADR microformats|{{PAGENAME}}]]
[[Category:Templates generating ADR microformats|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 02:30, 26 April 2015

Documentation icon Template documentation[create]