Template:CastleSubpage: Difference between revisions

From Jcastle.info
(Created blank page)
 
No edit summary
 
(79 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
This is the "CastleSubpage" template.
It should be called in the following format:
<pre>
{{CastleSubpage
|Castle=
|CastleSubpageNameEnglish=
|CastleSubpageNameJse=
|CastleSubpageText=
|Subpage Cover=
|Subpage Order=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>{{#set:Subpage Cover={{{Subpage Cover|}}}}}{{#set:Subpage Order={{{Subpage Order|}}}}}
<p class="extractsummary3">{{#sub:{{{CastleSubpageText|}}}|0|300}}</p>
<div class="row">
<div class="col-md-9">
===[[Castle::{{{Castle|}}}]] - [[CastleSubpageNameEnglish::{{{CastleSubpageNameEnglish|}}}]]===
====[[CastleSubpageNameJse::{{{CastleSubpageNameJse|}}}]]====
{{{CastleSubpageText|}}}


<div class="row">
<div class="col-md-12">
<div class="card">
<h5 class="card-header">Gallery</h5>
<div class="card-body-new2">
{{#ask:
[[Category:Castle Photos]]
[[Castle::{{{Castle|}}}]]
[[CastleSubpage::{{PAGENAME}}]]
|?Short Description
|sort=order
|link=none
|format=template
|template=gallerythumbs
|order=ascending}}
</div>
</div>
{{#ask:
[[Category:Castle Photos]]
[[Castle::{{{Castle|}}}]]
[[CastleSubpage::{{PAGENAME}}]]
|?Short Description
|?{{{fileproperty|}}}
|?GPSLocation
|format=leaflet
|sort=order
|hidenamespace=on
|template=InfoWindowProfile
|layers=Esri.WorldTopoMap
|layer=Esri.WorldTopoMap
|service=leaflet
|icon=Darkred18.png
|showtitle=no
|limit=300
}}
</div>
</div>
</div>
<div class="col-md-3">
<br />
<div class="card">
<h5 class="card-header">Feature Pages</h5>
<div class="card-body">
{{#ask:
[[Category:CastleSubpage]]
[[Castle::{{{Castle|}}}]]
|?Subpage Cover
|?Subpage Order
|?CastleSubpageNameEnglish
|link=none
|sort=Subpage Order
|format=template
|template=Subpage List2
}}
</div>
</div>
</div>
__NOTITLE__
__NOTOC__
__NOEDITSECTION__
[[Category:CastleSubpage]]
</includeonly>

Latest revision as of 12:07, 24 February 2025

This is the "CastleSubpage" template. It should be called in the following format:

{{CastleSubpage
|Castle=
|CastleSubpageNameEnglish=
|CastleSubpageNameJse=
|CastleSubpageText=
|Subpage Cover=
|Subpage Order=
}}

Edit the page to see the template text.