Difference between revisions of "Template:Title"

From Geohashing
(Created page with "<includeonly>{{subst:#explode:{{subst:SUBPAGENAME}}| |{{subst:#switch:{{{1}}}|date=0|lat=1|lon=2}}</includeonly>")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{subst:#explode:{{subst:SUBPAGENAME}}| |{{subst:#switch:{{{1}}}|date=0|lat=1|lon=2}}</includeonly>
+
<includeonly>{{subst:#explode:{{subst:SUBPAGENAME}}| |{{subst:#switch:{{{1}}}|date=0|lat=1|lon=2}}}}</includeonly><noinclude>
 +
On expedition pages which use titles such as <code>YYYY-MM-DD LAT LON</code>, this template automatically detects the date, latitude and longitude used in the title. This template is always supposed to be subsituted. Use it as follows:
 +
 
 +
*<code><nowiki>{{subst:title|date}}</nowiki></code>
 +
*<code><nowiki>{{subst:title|lat}}</nowiki></code>
 +
*<code><nowiki>{{subst:title|lon}}</nowiki></code>
 +
[[Category:Wiki stuff]]
 +
</noinclude>

Latest revision as of 10:53, 24 May 2024

On expedition pages which use titles such as YYYY-MM-DD LAT LON, this template automatically detects the date, latitude and longitude used in the title. This template is always supposed to be subsituted. Use it as follows:

  • {{subst:title|date}}
  • {{subst:title|lat}}
  • {{subst:title|lon}}