Template:Infobox top
From CruisersWiki
(Difference between revisions)
(h-entry instead of h-review) |
(formatting) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class="h-entry"><!-- | --><div class="h-entry"><!-- | ||
- | --><span class="p-name" style="display:none">{{FULLPAGENAME}}{{ | + | --><span class="p-name" style="display:none">{{FULLPAGENAME}}{{if|test={{{name|}}}|then=#{{{name}}}}}</span><!-- entry title |
- | --><span class="u-url" style="display:none">{{localurl:{{ | + | --><span class="u-url" style="display:none">{{localurl:{{FULLPAGENAME}}}}{{if|test={{{name|}}}|then=#{{anchorencode:{{{name}}}}}}}</span><!-- entry url |
--><div class="p-location h-card"> | --><div class="p-location h-card"> | ||
{| class="infobox bordered" cellpadding="2" style="width: 25em; text-align: left; font-size: 90%;" | {| class="infobox bordered" cellpadding="2" style="width: 25em; text-align: left; font-size: 90%;" | ||
|- | |- | ||
| colspan="2" style="text-align:center;" | <div class="p-name" style="font-size: large">{{ | | colspan="2" style="text-align:center;" | <div class="p-name" style="font-size: large">{{ | ||
- | + | if|test={{{url|}}}|then=[{{{url|}}} }}'''{{ | |
- | + | if|test={{{name|}}}|then={{{name}}}|{{PAGENAME}}}}'''{{ | |
- | + | if|test={{{url|}}}|then=]}}</div>{{ | |
- | + | if|test={{{portofentry|}}}|then=<div>{{blue|'''Port of Entry'''}}</div>}}{{ | |
- | + | if|test={{{containsportofentry|}}}|then=<div>{{blue|'''Port(s) of Entry are in there'''}}</div>}}</includeonly><noinclude> | |
Header for [[Template:Infobox]] | Header for [[Template:Infobox]] |
Revision as of 07:21, 22 December 2016
Header for Template:Infobox