Help:Contents
m (→'''Embedded sections''') |
m (→'''Relative Linking''') |
||
Line 36: | Line 36: | ||
==== '''Relative Linking''' ==== | ==== '''Relative Linking''' ==== | ||
instead of using the standard <nowiki>[[pagename|display]]</nowiki> format, use: | instead of using the standard <nowiki>[[pagename|display]]</nowiki> format, use: | ||
− | <nowiki>{{ | + | <nowiki>{{rl|pagename|display}}</nowiki> |
this will allow access to sub-pages without having to link down the entire url to the root web<br/> | this will allow access to sub-pages without having to link down the entire url to the root web<br/> | ||
eg: /Resources/People/Ingame could be referenced as <nowiki>{{rl|Ingame}}</nowiki> from the People page. | eg: /Resources/People/Ingame could be referenced as <nowiki>{{rl|Ingame}}</nowiki> from the People page. |
Revision as of 21:46, 14 June 2007
Quick Wiki Reference
Consult the User's Guide for information on using the wiki software.
- Syntax reference for wiki pages/code (or see below for additional features)
- TOC for wiki editing
Additional Features:
Embedding video
Use the following code:
<youtube>[youtube code]</youtube> <gvideo>[Google video code]</gvideo>
Example:
<youtube>A83hfuhpo398</youtube> <gvideo>723we689f93b64</gvideo>
Indenting a paragraph
simply place the tag:
<para/>
at the beginning of any line to indent
Relative Linking
instead of using the standard [[pagename|display]] format, use:
{{rl|pagename|display}}
this will allow access to sub-pages without having to link down the entire url to the root web
eg: /Resources/People/Ingame could be referenced as {{rl|Ingame}} from the People page.
eg: /Resources/People/OOgame could be referenced as {{rl|../OOgame|OOgame}} from the Ingame page
Spoiler tag
to hide potential spoiler text inline, place it within<spoiler>test</spoiler>
Embedded sections
to include subpages within the content, you can use the code:
{{section|content=(text|{{namespace:pagename}})|header=(text)|color=(name)}}
or on multiple lines
{{section| |content=(text|{{namespace:pagename}}) |header=(text) |color=(name)
'namespace' can be ignored for main pages, but the colon must remain - that is, the '/Puzzles' page could be referenced as 'content=:Puzzles' or 'content=Halo:Puzzles'
both 'header' and 'color' are optional. Leaving header blank removes the header line entirely. Leaving color blank renders the box in gray
The box is rendered to 100% of the width of the containing object (thus, to place some side by side, either enclose the template in a floated div, or within table cells, for example.