Difference between revisions of "Template:Castle Photo"
From Jcastle.info
(38 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Castle Photo | {{Castle Photo | ||
+ | |File name= | ||
|order= | |order= | ||
|Highlight= | |Highlight= | ||
Line 15: | Line 16: | ||
|Contributor= | |Contributor= | ||
|ContributorOldID= | |ContributorOldID= | ||
+ | |CastleSubpage= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>{{#set:order={{{order|}}}|Highlight={{{Highlight|}}}|hide={{{hide|}}}|Contributor={{{Contributor|}}}|ContributorOldID={{{ContributorOldID|}}}|}} | + | </noinclude><includeonly>{{#set:GPSLocation={{{GPSLocation|}}}|order={{{order|}}}|Highlight={{{Highlight|}}}|hide={{{hide|}}}|Contributor={{{Contributor|}}}|ContributorOldID={{{ContributorOldID|}}}|}}{{#set:File name=File:{{{File name|}}}}} |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Castle | ! Castle | ||
| [[Castle::{{{Castle|}}}]] | | [[Castle::{{{Castle|}}}]] | ||
+ | {{#if:{{{CastleSubpage|}}}| | ||
+ | {{!}}- | ||
+ | ! Castle Subpage | ||
+ | {{!}} [[CastleSubpage::{{{CastleSubpage|}}}]] | ||
+ | }} | ||
|- | |- | ||
! Photo Order | ! Photo Order | ||
Line 38: | Line 45: | ||
! Short Description in Japanese | ! Short Description in Japanese | ||
| [[Short Description Jse::{{{Short Description Jse|}}}]] | | [[Short Description Jse::{{{Short Description Jse|}}}]] | ||
− | |- | + | {{#if:{{{GPSLocation|}}}| |
− | ! | + | {{!}}- |
− | + | ! Map | |
+ | {{!}} {{#display_map:{{{GPSLocation}}}|service=googlemaps|type=terrain|zoom=16|width=500px}}}} | ||
|} | |} | ||
[[Category:Castle Photos]] | [[Category:Castle Photos]] | ||
</includeonly> | </includeonly> |
Latest revision as of 21:59, 13 June 2020
This is the "Castle Photo" template. It should be called in the following format:
{{Castle Photo |File name= |order= |Highlight= |hide= |Castle= |Description= |Short Description= |Description Jse= |Short Description Jse= |GPSLocation= |Contributor= |ContributorOldID= |CastleSubpage= }}
Edit the page to see the template text.