Help:Contents

From Halo
(Difference between revisions)
Jump to: navigation, search
m
m ('''Embedded sections''')
Line 47: Line 47:
 
==== '''Embedded sections''' ====
 
==== '''Embedded sections''' ====
 
to include subpages within the content, you can use the code:
 
to include subpages within the content, you can use the code:
  <nowiki>{{section|content=(namespace:pagename)|header=(text)|color=(name)}}</nowiki>
+
  <nowiki>{{section|content=(text|{{namespace:pagename}})|header=(text)|color=(name)}}</nowiki>
 
or on multiple lines
 
or on multiple lines
 
  <nowiki>{{section|</nowiki>
 
  <nowiki>{{section|</nowiki>
  <nowiki>|content=(namespace:pagename)</nowiki>
+
  <nowiki>|content=(text|{{namespace:pagename}})</nowiki>
 
  <nowiki>|header=(text)</nowiki>
 
  <nowiki>|header=(text)</nowiki>
 
  <nowiki>|color=(name)</nowiki>
 
  <nowiki>|color=(name)</nowiki>
'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=WorldWithoutOil:Puzzles'<br/>
+
'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'<br/>
 
both 'header' and 'color' are optional.  Leaving header blank removes the header line entirely.  Leaving color blank renders the box in gray<br/>
 
both 'header' and 'color' are optional.  Leaving header blank removes the header line entirely.  Leaving color blank renders the box in gray<br/>
 
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.
 
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.

Revision as of 21:45, 14 June 2007

Quick Wiki Reference

Consult the User's Guide for information on using the wiki software.



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:

{{rel|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 tags
<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.


Personal tools
misc game content
[Support Wikibruce]