Help:Page templates

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(Minor Edit)
(Minor Edits)
Line 81: Line 81:
This makes a gallery of images - four in a row (add/remove).
This makes a gallery of images - four in a row (add/remove).
-
COPY FROM BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
<center><gallery caption="Gallery" widths="140px" heights="100px" perrow="4">
<center><gallery caption="Gallery" widths="140px" heights="100px" perrow="4">
Line 90: Line 90:
</gallery></center>
</gallery></center>
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
.
.
Line 97: Line 97:
(Add/remove columns)
(Add/remove columns)
-
COPY FROM BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| class="wikitable" align=center
{| class="wikitable" align=center
Line 112: Line 112:
  |}
  |}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
.
.
Line 119: Line 119:
(Add/remove rows)
(Add/remove rows)
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| class="wikitable" align=right
{| class="wikitable" align=right
Line 132: Line 132:
|}
|}
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
<br/>
<br/>
Line 164: Line 164:
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| class="infobox bordered" style="width: 27em; text-align: right; font-size: 90%;"
{| class="infobox bordered" style="width: 27em; text-align: right; font-size: 90%;"
Line 171: Line 171:
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
<br/>
<br/>
Line 180: Line 180:
(Add more rows/lines)
(Add more rows/lines)
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| border="1" cellpadding="2"
{| border="1" cellpadding="2"
Line 199: Line 199:
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
==ANOTHER TABLE==
==ANOTHER TABLE==
Line 205: Line 205:
===Option 1===
===Option 1===
-
START COPY BELOW HERE (in "edit" mode):
+
<!--COPY FROM BELOW HERE:-->
{| class="wikitable"
{| class="wikitable"
Line 219: Line 219:
|}
|}
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
===Option 2===
===Option 2===
-
START COPY BELOW HERE (in "edit" mode}:
+
<!--COPY FROM BELOW HERE:-->
{| class="wikitable"
{| class="wikitable"
Line 254: Line 254:
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
.
.
Line 260: Line 260:
Add/remove columns/rows as needed.
Add/remove columns/rows as needed.
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| class="wikitable"  
{| class="wikitable"  
Line 282: Line 282:
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
Line 288: Line 288:
''Add/cut columns and/or rows''
''Add/cut columns and/or rows''
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| class="wikitable" style="margin: 1em auto 1em auto"  
{| class="wikitable" style="margin: 1em auto 1em auto"  
Line 315: Line 315:
|}
|}
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
.
.
Line 321: Line 321:
(Add more rows/lines within)
(Add more rows/lines within)
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{|
{|
Line 333: Line 333:
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
==FEATURED SECTIONS/PAGES==
==FEATURED SECTIONS/PAGES==
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| border="1" cellpadding="2"
{| border="1" cellpadding="2"
Line 345: Line 345:
|}
|}
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
.
.
Line 382: Line 382:
Place at the bottom of pages.
Place at the bottom of pages.
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#f5faff; border:1px solid #a3b0bf;"
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#f5faff; border:1px solid #a3b0bf;"
Line 390: Line 390:
|}
|}
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
.
.
Line 396: Line 396:
==NEWS BLOCK==
==NEWS BLOCK==
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{| class="infobox bordered" style="width:300px; border:1px solid #FF3300; background:#FFFFFF; vertical-align:top;"
{| class="infobox bordered" style="width:300px; border:1px solid #FF3300; background:#FFFFFF; vertical-align:top;"
Line 406: Line 406:
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
<br/>
<br/>
Line 413: Line 413:
==ANOTHER INFO PANEL==
==ANOTHER INFO PANEL==
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#fff5ee; border:1px solid #fa8072;"
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#fff5ee; border:1px solid #fa8072;"
Line 421: Line 421:
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
==FEATURED ARTICLE==
==FEATURED ARTICLE==
{{Top}} = ''Featured Article''
{{Top}} = ''Featured Article''
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{{Top}}
{{Top}}
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
==CALL FOR EDITORS==
==CALL FOR EDITORS==
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#fff5ee; border:1px solid #fa8072;"
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#fff5ee; border:1px solid #fa8072;"
Line 442: Line 442:
|}
|}
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
.
.
Line 448: Line 448:
==MESSAGE BUOY==
==MESSAGE BUOY==
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
== '''Enter Boat's Name Here''' ==
== '''Enter Boat's Name Here''' ==
Line 468: Line 468:
----
----
-
END COPY ABOVE HERE
+
<!--END COPY ABOVE HERE:-->
.
.

Revision as of 10:44, 26 July 2009

Contents

PAGE TEMPLATES

Click on the template page, then click on the page "edit" (top of page) and copy the Wiki-code from the editor to paste in a newly created page. Please DO NOT edit/change the templates on the "template" page. You can add/delete/edit items in the new page that you create.

CO-ORDINATES TEMPLATE

Enter co-ordinates in a page using the "template-call" as shown below:

GPS: {{Coord|DD|M.M|N/S|DD|M.M|E/W|}}

Copy the above template and paste it into the Wiki page editor, fill in the details and SAVE the edit (don't forget to select either N or S, or E or W). This template will automatically give a link to a GeoHack page with various online geo resources related to the position - resources like Google Earth, MapTech (marine chart), GoogleMaps and access to photos of the position's area on Flickr, Panoramio, etc.

Example: GPS: {{Coord|37|43.6|N|26|50.6|W|}} will show as: GPS: 37°43.6′N, 26°50.6′W after saving the edit (with link to the "geo" resources page).


Co-ordinates Conversion Help - (D & M & S) - Divide the seconds by 60 to get the decimal value of minutes for the GPS format of |DD|M.M|

CO-ORDINATES INFO TEMPLATE

Small info.png (Click links for more information)
GPS: DD°M.M′N/S, DD°M.M′E/W
Gallery: [ Photo gallery]
Chartlet: [ Local chartlet]

Copy the template below:

{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 85%;"
|-
| colspan="2" style="text-align:left; font-size: smaller;" | {{Small info}} (''Click links for more information'')
|-
! GPS:
| {{Coord|DD|M.M|N/S|DD|M.M|E/W|}}
|-
! Gallery:
| [ Photo gallery]
|-
! Chartlet:
| [ Local chartlet]
|}

GENERAL TEMPLATES (for use within pages/sections)

Template copy instructions:

General templates for use within pages, etc. Click on "EDIT" (R/H side of each template) and copy the format layout within the editor to paste into a new page. Once copied, click your browser's return to get back out of the editor without altering the contents.

DO NOT ALTER THE TEMPLATES HERE - you can add/edit/remove items of the templates from within the page/section in which you paste the template.

IMAGE TEMPLATE

(Change as required - .jpg, .png, .gif - size(px) - Left/right align - Comment, etc. Change the "Imagefilename & extension to the image filename you wish to add).
Remember: Upload the image to the Wiki FIRST - keep the image filename short & descriptive. Resize images to max 600px.

[[Image:Imagefilename.jpg|thumb|300px|right| Place comment here ]]

Copy/paste the "format" above (in bold)


Place comment here





.

IMAGE GALLERY

This makes a gallery of images - four in a row (add/remove).



.

ANOTHER IMAGE GALLERY

(Add/remove columns)


Sailing800.jpg Sailing800.jpg Sailing800.jpg Sailing800.jpg
Comment 1 Comment 2 Comment 3 Comment 4


.

R/H GALLERY

(Add/remove rows)


Sailing800.jpg
Comment 1
Sailing800.jpg
Comment 2
Sailing800.jpg
Comment 3
Sailing800.jpg
Comment 4






















GOOGLEMAP FRAME

{| class="infobox bordered" style="width: 27em; text-align: right; font-size: 90%;"
|-
| colspan="2" style="text-align:center;" | googlemap code here
|}

Copy/paste the template above - frames the GoogleMap to the right of the page.


..googlemap code here...





3 COLUMN TABLE (BORDERED)

(Add more rows/lines)


This column is 200 points wide This column is 200 points wide This column is 200 points wide
blah blah blah
blah blah blah
blah blah blah
blah blah blah
blah blah blah


ANOTHER TABLE

(Add/remove rows/columns as needed - will auto-expand)

Option 1

Heading1 Heading2 Heading3 Heading4 Heading5 Heading6
Data11
Data12
Data13
Data21
Data22
Data31
Data32
Data41
Data42
Data51
Data52
Data61
Data62


Option 2

Heading Heading Heading Heading Heading Heading
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data

.

VARIATION OF ABOVE TABLE

Add/remove columns/rows as needed.


Overall Heading
Heading1 Heading2 Heading3 Heading4 Heading5 Heading6 Heading7
Data11
Data12
Data13
Data14
Data21
Data22
Data23
Data31
Data32
Data41
Data42
Data43
Data51
Data52
Data53
Data54
Data61
Data62
Data63
Data64
Data65
Data71
Data72


AND ANOTHER TABLE

Add/cut columns and/or rows


HeadingHeading Heading Heading Heading Heading
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data
Data Data Data Data Data Data

.

SIMPLE 4 COLUMN TABLE

(Add more rows/lines within)


Orange Apple more more
Bread Pie more more
Butter Cream more more
more more more more


FEATURED SECTIONS/PAGES

CLicon.png FEATURED PAGES: ----,


.

INFORMATION BOX

Small info.png Text

Copy the template (in bold type) below:

{| border="1" cellpadding="2"
|-
|width="30pt" | {{Small info}}
|width="100%"| Text
|}

Alternative icons for the above template:

  • Lock.png {{Large lock}}
  • Small Lock.png {{Small lock}}
  • Info.png {{Info}}
  • Small info.png {{Small info}}

Use the above to suit.

Other General Icons

  • Poe.jpg = Port of entry
    use [[image:Poe.jpg]]

PAGE NAVIGATION STRIP

Place at the bottom of pages.


Cruising Wiki Navigation

| HOMEPAGE | Wiki Contents | Place Page Links Here | edit/remove |


.

NEWS BLOCK

Small info.png Latest News
Content - news items, etc.




ANOTHER INFO PANEL

Heading

Contents here


FEATURED ARTICLE

TopWiki.png = Featured Article


TopWiki.png


CALL FOR EDITORS

HELP! This section is lagging behind in development.

Your assistance is required to develop these pages into a useful resource. Bring out the hidden "cruising guide writer" in you and share your information here (in the true cruising spirit) for all who follow in your wake.


.

MESSAGE BUOY

Enter Boat's Name Here

  • Cruiser: EnterYourNameHere
  • Mate: EnterMate'sNameHere
  • Crew: EnterCrewNamesHere
  • From: EnterHomePortHere
  • Boat: EnterBoatTypeAndSizeHere
  • Been Cruising For: EnterHowLongHere
  • Current Cruising Area: EnterCurrentLocationHere
  • Heading Towards: EnterWhereToNextHere
  • Boat's Website: [FullWebsiteURLHere Website/Blog]
  • Wiki Username: "YourWikiUsername"

Details Updated: EnterDateHere



.

Personal tools
advertisement
Friends of Cruisers Wiki