Website | {{{website}}} |
---|
{{ infobox | bodyclass = vcard | above = {{{church name|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}}}} | aboveclass = fn org | headerstyle = background-color: #efefef | image = {{#if: {{{image|{{{img|}}}}}} | [[File:{{{image|{{{img}}}}}}|{{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{img size|{{{imagesize}}}}}}}}|300|{{{img size|{{{imagesize}}}}}}}}}}x250|{{min|250|{{#if:{{#ifexpr:{{{img size|{{{imagesize}}}}}}}}|300|{{{img size|{{{imagesize}}}}}}}}}}}}px|{{{img capt|{{{caption|}}}}}} | link={{#if:{{{imagelink|}}} | {{{imagelink}}} | File:{{{image|{{{img}}}}}} }} | alt={{{imagealt|}}}]]}} | caption = {{{img capt|{{{caption|}}}}}} | imagestyle = {{#if:{{{pushpin map|}}}||border-bottom:1px #aaa solid}} | label12 = Website | data12 = {{#invoke:Sandbox/PHansen/Kirkeurl|main|{{{website}}}}} }}
- Module : en:Module:Sandbox/PHansen/Kirkeurl : test via en:User:PHansen/Kirkeurl
- {{#invoke:Sandbox/PHansen/Kirkeurl|main|{{{website}}}}}
Attempt to truncate
edit- With {{#invoke:Sandbox/PHansen/Kirkeurl|main|{{{website}}}}}
- Truncate long urls, more than 28 characters
- www.tryggevaeldeprovsti.dk/index.php?id=1722 - NB: The template parameter 'website' has no http://
Karise Church | |
---|---|
Website | www.tryggevaeldeprovsti.dk |
{{User:PHansen/Kirkeurl | name = Karise Church | image = KariseKirke.jpg | imagesize = 265px | website = www.tryggevaeldeprovsti.dk/index.php?id=1722 }}
Frederiksholm Kirke | |
---|---|
Website | www.sydhavnsogn.dk |
{{User:PHansen/Kirkeurl | name = Frederiksholm Kirke | image = Frederiksholm Kirke Copenhagen.jpg | imagesize = 265px | website = www.sydhavnsogn.dk/kirken/frederiksholm-kirke/ }}
Comparison with Infobox church
editSee en:Template:Infobox church
Karise Church | |
---|---|
Website | www.tryggevaeldeprovsti.dk/index.php?id=1722 |
{{Infobox church | name = Karise Church | image = KariseKirke.jpg | imagesize = 265px | website = [http://www.tryggevaeldeprovsti.dk/index.php?id=1722 www.tryggevaeldeprovsti.dk/index.php?id=1722] }}