Difference between revisions of "Template:PirateBeer"
m |
|||
Line 8: | Line 8: | ||
|Has date={{#if: {{{date|}}} | {{#time:Y-m-d|{{{date|}}}}} }} | |Has date={{#if: {{{date|}}} | {{#time:Y-m-d|{{{date|}}}}} }} | ||
|Has event type=Pirate Beer | |Has event type=Pirate Beer | ||
− | }}{{#if: {{{date|}}} | {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Has event type::Pirate Beer]] [[Has date::{{#time:Y-m-d|{{{date}}}}}]]| ?Has date#MEDIAWIKI-F[D j F Y]= | mainlabel =-}} {{#if: {{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} {{{time}}} }} | {{#var:NA}} }}<br /> | + | }}{{#if: {{{date|}}} | {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Has event type::Pirate Beer]] [[Has date::{{#time:Y-m-d|{{{date}}}}}]] [[In postal code::{{{postalcode|}}} | ?Has date#MEDIAWIKI-F[D j F Y]= | mainlabel =-}} {{#if: {{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} {{{time}}} }} | {{#var:NA}} }}<br /> |
{{#if: {{{linkplace|}}}{{{place|}}} | [{{{linkplace}}} {{{place}}}] | {{{place|{{#var:NA}}}}} }}, {{{street|{{#var:NA}}}}} {{{number|}}}<br /> | {{#if: {{{linkplace|}}}{{{place|}}} | [{{{linkplace}}} {{{place}}}] | {{{place|{{#var:NA}}}}} }}, {{{street|{{#var:NA}}}}} {{{number|}}}<br /> | ||
{{{postalcode|}}} {{{city|}}}{{#if: {{{nocat|}}} | | {{#if: {{{crew|}}} | [[Category:{{{crew}}}]] }} }} | {{{postalcode|}}} {{{city|}}}{{#if: {{{nocat|}}} | | {{#if: {{{crew|}}} | [[Category:{{{crew}}}]] }} }} |
Revision as of 16:14, 21 January 2017
Usage
{{PirateBeer |lang = en |crew = An awesome crew |date = 14 nov 2016 |time = 19:30pm |place = Flying Dutchman |street = Treasure Island |number = 666 |postalcode = 9000 |city = Atlantis |linkplace=http://www.the-flying-dutchman.nl/ }}
Example
| |||
Crew | An awesome crew | ||
---|---|---|---|
Date | Mon 14 November 2016 | ||
Time | Error: Invalid time. | ||
Address |
| ||
City | |||
| |||
Loading map...
| |||
Find routes on OpenStreetMap | |||
Export | iCalendar | ||
Clone this event |
"Error: Invalid time." contains an extrinsic dash or other characters that are invalid for a date interpretation.