Difference between revisions of "Talk:More Club Trips"

From THCCwiki
Jump to navigation Jump to search
m (→‎Transclusion: new section)
m (→‎Transclusion: explain a bit more)
 
Line 5: Line 5:
 
== Transclusion ==
 
== Transclusion ==
  
The \{\{ syntax indicates transclusion.
+
The \{\{ syntax indicates transclusion. (See http://meta.wikimedia.org/wiki/Transclusion)
<br>Normally the page being included is a template, so the Template: prefix defaults.
+
;Normally the page being included is a '''template''', so the Template prefix defaults if omitted.
<br>In this case the page being included is in the main namespace so there needs to be a leading colon.
+
;In this case the page being included is in the '''main''' namespace so there needs to be a leading colon.
This is also used in the [[Home]] page to transclude the [[MOTD]] page.
+
;Transclusion is also used in the [[Home]] page to transclude the [[MOTD]] page.
The transcluded page should be edited directly.
+
;The transcluded page should be edited directly.
[[User:Ianh|Ianh]] 17:45, 17 January 2011 (UTC)
+
--[[User:Ianh|Ianh]] 17:51, 17 January 2011 (UTC)

Latest revision as of 17:51, 17 January 2011

Q. How do you add stuff into the 2010 section. The wiki directive \{\{:Trips in 2010\}\} does not mean anything to me.

A. If you edit the full page you can see links at the bottom (templates i think) that have edit links for each section

Transclusion

The \{\{ syntax indicates transclusion. (See http://meta.wikimedia.org/wiki/Transclusion)

Normally the page being included is a template, so the Template prefix defaults if omitted.
In this case the page being included is in the main namespace so there needs to be a leading colon.
Transclusion is also used in the Home page to transclude the MOTD page.
The transcluded page should be edited directly.

--Ianh 17:51, 17 January 2011 (UTC)