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}}}}}
}}




{{#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
 
Websitewww.tryggevaeldeprovsti.dk
{{User:PHansen/Kirkeurl
| name                   = Karise Church
| image                  = KariseKirke.jpg
| imagesize              = 265px

| website                = www.tryggevaeldeprovsti.dk/index.php?id=1722
}}


Frederiksholm Kirke
 
Websitewww.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

edit

See en:Template:Infobox church

Karise Church
 
Websitewww.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]
}}