Help:Page templates

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(Page Navigation Strip: Update)
 
(253 intermediate revisions not shown)
Line 1: Line 1:
-
==Page Templates==
+
{{IsPartOf|Pagetemplates}}
-
'''Template copy instructions'''
+
{{TOC block}}
-
General templates for creating new pages. Click on "EDIT" for '''this full page''' 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.
+
'''''Also see the Cruising Wiki's'' [[Wiki Editor's Guide]] ''and'' [[Style Guide]]'''.
-
==COUNTRY TEMPLATE==
+
There are two kinds of templates in this wiki: Page templates, described in this page, and Embeddable templates, described in a separate page [[Help:Embeddable templates]].
-
A Country template with infobox.
+
-
START COPY/PASTE '''BELOW''' HERE:
+
There are '''page templates''' for the most common pages or articles used in the {{SITENAME}}. Page templates contain all the needed wiki code but no specific information. To make a new page or article first create it, then select the appropriate template from the table below and click on the template page, then click on the '''view source''' (top of page) and '''copy''' the template's Wiki-code from the editor to paste in a newly created page.
-
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;"
+
{{RedText|'''Please DO NOT edit/change the templates on these "template" pages. You can add/delete/edit items in the new page that you create'''}}.
 +
 
 +
'''Embeddable templates''' are small snippets of wiki code enclosed in 2 curly brackets (<nowiki>{{code}}</nowiki>), some of them with parameters, that provide convenient shortcuts to frequently used code sequences. An example is the familiar [[Template:Coord|Coord Template]] <nowiki>{{Coord|DD|M.M|N/S|DD|M.M|E/W|}}</nowiki>.
 +
 
 +
Also, keep in mind that templates are ''Protected'' which means that you cannot alter it.  However, if you think that any changes to the template are desirable, contact the wiki administrators by making an entry describing the proposed changes and your reason in its corresponding [[Talk:Pagetemplates|Discussion Page]] (second right button at the top of this page).
 +
 
 +
==Use of Templates==
 +
====Instructions====
 +
Specific instructions are colored {{Green|Green}}. In "Edit" mode, after you copy a template in a new page, these will appear as:
 +
<nowiki>{{GreenText|Please remove the below item if you have provided some content material for this page}}</nowiki>
 +
 
 +
and are to be '''removed'''.
 +
 
 +
====Substitute Items====
 +
Items in {{MagentaText|Magenta}} are to be substituted. In "Edit" mode, after you copy a template in a new page, these will appear either as:
 +
<nowiki>{{MagentaText|xx}}</nowiki>
 +
or as
 +
<nowiki><span style="color:Magenta">xx</span></nowiki>
 +
 
 +
These are to be '''replaced''' with your information. Sometimes you may not have this information, in this case leave them alone for the next editor.
 +
 
 +
==Major Page Templates==
 +
 
 +
We are in the process of changing the page templates.
 +
 
 +
If there is only one entry in the following table, this links to the newest template. The rest of the table lists twoeach one it lists two links: the first is to the traditional template older while the second is to a newer corresponding version that makes extensive use of embeddable templates. This new version is easier and less error-prone than its corresponding traditional template. Both of these will be replaced by one page template per category.
 +
 
 +
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 +
|- bgcolor="#ABCDEF" align="center"
 +
| '''Template''' || '''Notes'''
|-
|-
-
| colspan="2" style="text-align:center; font-size: large;" | '''Country'''
+
|[[Template:Country2|Country]]
 +
|Countries (non-island), states, territories & provinces. For example [[France]], [[Australia]], [[California]], [[Queensland]], [[Russia]], etc.
|-
|-
-
| colspan="2" style="text-align:center;" | [[Image:Countrymap.gif|250px| ]]<br>Country
+
|[[Template:Island Group2|Island Group]]
-
|-
+
|A group of islands. For example [[Caribbean]], [[Balearics]], etc.
-
| colspan="2" style="text-align:center;" | [[Image:Countryflag.gif|104px| ]]<br>Flag
+
|-
|-
-
! Capital:
+
|[[Template:Island Country2|Island Country]]
-
| City?
+
|A country consisting of a single island or a small island group. For example [[Malta]], [[Madagascar]], and many Caribbean islands like [[Barbados]], [[St Lucia]], etc.
|-
|-
-
! Language:
+
| [[Template:Small Region2|Region, Small]]
-
| ??
+
| A small region with just a few countries with few ports, anchorages, and Islands (i.e. [[Ionian Sea]]). These are handled with a single table.
 +
|-
 +
| [[Template:Large Region2|Region, Large]]
 +
| A large region with several countries that include regions, ports, anchorages, and Islands. For example [[North Atlantic]], [[Mediterranean]], [[Black Sea]], [[Canary Islands]], [[Aegean_Sea#Countries, Ports, Anchorages, and Islands|Aegean]], etc.. These regions are handled with several sections and tables.
 +
|-
 +
| [[Template:Small Country Region2| Region, Small Country]]
 +
| A small region within a single country. It has just a few ports,  Anchorages, and Islands (i.e.[[Canary Islands]]). These are handled in a list.
 +
|-
 +
| [[Template:Large Country Region2|Region, Large Country]]
 +
| A large region within a single country. It has several ports,  anchorages, and Islands (i.e [[Aeolian Coast]]). These are handled with one or more tables.
|-  
|-  
-
! Currency:
+
|[[Template:Passage2|Passage]]
-
| ??
+
|For example [[Aegean to West Mediterranean Passages]], [[Trans-Atlantic, Europe to Caribbean]], etc.
-
|-  
+
|-
-
| colspan="2" style="font-size: 2" | More notes about the country
+
|[[Template:Island2|Island]]
 +
|Other islands (not countries). For example [[Sardinia]], [[Samos]], [[Tahiti]], [[Bonifacio]], etc.
 +
|-
 +
|[[Template:Port2|Port/Anchorage]]
 +
|Ports (harbours) and anchorages meriting a separate page. For example [[Pythagorio]], [[Almeria]], [[Bodrum]], [[Castelsardo]], etc.
 +
|-
 +
|[[Template:Marina2|Marina/Yacht Club]]
 +
|For example [[Samos Marina]], [[Club del Mar Marina]], [[Bodrum Marina]], etc.
 +
|-
 +
|[[Template:Canal2|Canal]]
 +
|For example [[Corinth Canal]], [[Crinan Canal]], etc.
|}
|}
-
===Background===
+
'''NOTE:''' Some of the headings in a template may not be appropriate for a specific page: Do not feel compelled to use them.
-
Some history about the country needs to be submitted here.
+
-
Describe the cruising/sailing in the region.
+
==Other Useful Page Templates==
 +
===Co-ordinates===
 +
Enter co-ordinates in a page using the "template-call" as shown immediately below this line (in bold):
-
===Climate & Weather===
+
<code>'''<nowiki>{{mark | lat= DD.dd | lon= DDD.dd | zoom= | type= | name= }}</nowiki>'''</code>
-
Submit the climate & general weather details here.
+
-
Sources of weather forecasting here.
+
Copy the above template (shown in bold) and paste it into the Wiki page editor, fill in the co-ords details and '''SAVE''' the edit (don't forget to select either '''N''' or '''S''', and '''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 Panoramio, etc.
-
*
+
-
*
+
-
===Charts===
+
Example: '''<nowiki>{{mark | lat= 38.60339 | lon= -27.52998 |zoom= 9 |type= waypoint} | name= Way point}}</nowiki>''' will show as: {{mark | lat= 38.60339 | lon= -27.52998 |zoom= 9 | type= waypoint} | name= Way point}} after saving the edit and clicking on the coordinates your browser (if capable) will show a chart of the way point.
-
Submit details of the charts required for safe navigation of the area.
+
-
===Special Navigation Notes===
+
Alternatively, you can use the form <code>'''<nowiki>{{mark |DDIM.M|N/S|DDD|M.M|E/W| | zoom= | type= | name= }}</nowiki>'''</code>
-
Any navigation notes here.
+
-
===Local Radio Nets===
+
Example:  '''<nowiki>{{mark |37|43.6|N|26|50.6|W| | zoom= 7 | type= waypoint | name= My point}}</nowiki>''' will show as: {{mark |37|43.6|N|26|50.6|W| | zoom= 7| type= waypoint | name= My point}}.
-
''Also see [[HF_Radio|Cruiser's Nets]]''
+
-
Submit details of Cruiser's Nets and VHF operating/calling channels here.
+
===Co-ordinates Info===
 +
{| class="infobox bordered" style="width: 28em; text-align: left; font-size: 85%;"
 +
|-
 +
| colspan="2" style="text-align:center; font-size: smaller;" | {{Small info}} (''Click links for more information'')
 +
|-
 +
! <center>[[image:World_icon.png]]</center>
 +
| {{Coord|DD|M.M|N/S|DD|M.M|E/W|}}
 +
|-
 +
! <center>[[image:Photo_icon.png]]</center>
 +
| [ Photo gallery]
 +
|-
 +
! <center>[[image:Chart_icon.png]]</center>
 +
| [ Local chartlet]
 +
|}
-
===Arrival/Departure procedures===
+
'''Copy the template below:'''
-
Submit any details about advance notification of arrival, etc.
+
-
===Immigration, Visas & Customs===
+
<code><nowiki>{| class="infobox bordered" style="width: 28em; text-align: left; font-size: 85%;"</nowiki><br/>
-
Submit details about customs and immigration procedures here.
+
<nowiki>|-</nowiki><br/>
 +
<nowiki>| colspan="2" style="text-align:center; font-size: smaller;" | {{Small info}} (''Click links for more information'')</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>! <center>[[image:World_icon.png]]</center></nowiki><br/>
 +
<nowiki>| {{Coord|DD|M.M|N/S|DD|M.M|E/W|}}</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>! <center>[[image:Photo_icon.png]]</center></nowiki><br/>
 +
<nowiki>| [ Photo gallery]</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>! <center>[[image:Chart_icon.png]]</center></nowiki><br/>
 +
<nowiki>| [ Local chartlet]</nowiki><br/>
 +
<nowiki>|}</nowiki></code>
-
'''Immigration'''<br>
+
* Paste the template to a page and enter the coordinates (as explained in the "Coordinates Template" above) and "Save".
-
Details?
+
* Click on the coordinates link that will take you to the "Geohack" page.
 +
* Click on "Panoramio" (under photo links) and set the photo "map" for the coords. When correct (select "show all photos"), copy the Panoramio URL and paste to MS Notepad.
 +
* Return to the Geohack page and click on "MapTech" for the local "chartlet". Use zooming, etc., to select the best chartlet and copy the MapTech URL.
 +
* Return to the Cruising Wiki page containing the Infobox template and add these URLs for the Photos and Chartlet.
-
'''Customs'''<br>
+
The above guide is the same for existing Infobox templates on pages that have already been set up.
-
Details?
+
-
===Ports & Popular Stops===
+
The Co-ordinates Info is also implemented as an embeddable template, ''see [[Template:Infobox/doc]]''.
-
Submit Ports and stop-overs
+
-
*
+
-
*
+
-
===Offshore Islands===
+
===General (for use within pages/sections)===
-
Details?
+
-
*
+
-
*
+
-
===Health & Security===
+
{{RedText|'''Template copy instructions''':}}
-
Submit any health warnings/information and any security details here.
+
-
===Cruiser's Friends===
+
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'''.
-
Submit details/contacts of cruiser's "friends" that can be contacted in advance or on arrival - who can offer information and assistance to our cruising "family".
+
-
===References & Publications===
+
'''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.
-
Books, Guides, etc.
+
-
*
+
-
*
+
-
*
+
-
===Links to CruiserLog Forum discussions===
+
====Discussion Page====
-
Links to discussions on the CruiserLog Forum
+
<!--COPY FROM BELOW HERE:-->
-
*
+
-
*
+
-
===External Links===
+
=== <page name> Discussion Page ===
-
Submit useful website links for the region
+
Suggest new content sections/headings, post questions, general suggestions, etc., below.
-
*
+
-
*
+
-
*
+
-
===Personal Notes===
+
Click on the "+" sign next to "Edit" (top of page tab) to open a new topic for discussion or "Edit" to add to or comment on existing topics on this page.
-
Personal experiences?
+
 +
*
-
{{Guide1}}
 
-
<center>[[-------|BACK]]</center>
 
-
.
 
-
END COPY '''ABOVE''' HERE.
 
-
==GENERAL TEMPLATE==
 
-
For Islands, Ports, etc.
 
-
START COPY BELOW HERE.
 
-
[[Image:imagename.jpg|300px|thumb|right|Caption]]
 
-
===Background===
+
<center>[[Place Page Links Here|BACK]]</center>
-
Historic details, etc.
+
-
Submit details about the sailing/cruising in the area, etc.
 
-
===Charts===
+
<!--END COPY ABOVE HERE:-->
-
Submit the chart details that are required for safe navigation.
+
-
===Radio Nets===
+
START COPY BELOW HERE
-
''Also see [[HF_Radio|Cruiser's Nets]]''
+
-
Submit details of local radio Nets.
+
<div style="clear: both;"></div>
-
===Approach and Navigation===
+
<code><nowiki>=== <page name> Discussion Page ===</nowiki><br/>
-
Details?
+
<nowiki>Suggest new content sections/headings, post questions, general suggestions, etc., below.</nowiki><br/>
-
===Check-in facilities===
+
''<nowiki>''Click on the "+" sign next to "Edit" (top of page tab) to open a new topic for discussion or "Edit" to add to or comment on existing topics on this page''.</nowiki>''<br/>
-
Submit details about facilities for checking in - where to dock, etc.
+
<nowiki>*</nowiki><br/><br/></code>
 +
END COPY ABOVE HERE
-
===Ports and Popular Stops===
+
===Images===
-
*
+
====Simple Image====
-
*
+
<!--COPY FROM BELOW HERE:-->
-
*
+
-
===Marinas & Yacht Clubs===
+
[[Image:Sailing800.jpg|thumb|350px|right| '''Place comment here''' - ''Click for larger view'' ]]
-
Submit Marina details.
+
-
*
+
-
*
+
-
*
+
-
===Anchorages===
+
<!--END COPY ABOVE HERE:-->
-
List details of all safe anchorages in the area.
+
-
*
+
-
*
+
-
*
+
-
===Offshore Islands===
+
<code>'''<nowiki>[[Image:Sailing800.jpg|thumb|325px|right| '''Place comment here''' - ''Click for larger view'' ]]</nowiki>'''</code>
-
List Islands
+
-
*
+
-
*
+
-
===Routes/Passages To/From===
+
''Copy/paste the "format" above (in bold black) - (change "Sailing800.jpg" to your image file name)''
-
Popular passages/routes, timing, etc.
+
-
===Tourism & things to do ashore===
+
(Change as required - .jpg, .png, .gif - size(px) - Left/right align - Comment, etc. Change the "Imagefilename & extension" to the image filename of the image that you uploaded to the Wiki).
-
List places of interest, tours, eateries, etc.
+
-
===Marine stores===
+
{{RedText|''Remember''}}: Upload the image to the Wiki FIRST - keep the image filename short & descriptive.
-
Submit addresses and contact details of marine related businesses that are of interest to cruisers.
+
-
*
+
-
===References & Publications===
+
{{RedText|'''Resize images to max 600px X 600px (BEFORE uploading)'''}}. ([http://www.stormdance.net/software/photorazor/software%20overview.htm Recommended free software for resizing images])
-
Publications, Guides, etc.
+
-
*
+
-
*
+
-
*
+
-
===Cruiser's Friends===
+
<div style="clear: both;"></div>
-
Contact details of "Cruiser's Friends" that can be contacted for local information or assistance.
+
-
===Forum Discussions===
+
====Image Gallery====
-
List links to discussion threads on the Cruiser Log Forum
+
This makes a gallery of images - three in a row (add/remove). ''Note: perrow="3" - means three per row''
-
*
+
-
*
+
-
*
+
-
===External Links===
+
<!--COPY FROM BELOW HERE:-->
-
Links to relevant websites.
+
-
*
+
-
*
+
-
*
+
-
===Personal Notes===
+
<center style="clear: both;"><gallery caption="name of the gallery (optional)" widths="230px" heights="140px" perrow="3">
-
Personal experiences?
+
Image:Sailing800.jpg|Comment
 +
Image:Sailing800.jpg|Comment
 +
Image:Sailing800.jpg|Comment
 +
</gallery></center>
 +
<!--END COPY ABOVE HERE:-->
-
{{Guide1}}
+
'''''Copy/Paste the template below:''' (Change gallery caption and image file name and add the comment)''
 +
<code><nowiki><center style="clear: both;"><gallery caption="name of the gallery (optional)" widths="210px" heights="140px" perrow="3"></nowiki><br/>
 +
<nowiki>Image:Sailing800.jpg|Comment</nowiki><br/>
 +
<nowiki>Image:Sailing800.jpg|Comment</nowiki><br/>
 +
<nowiki>Image:Sailing800.jpg|Comment</nowiki><br/>
 +
<nowiki></gallery></center></nowiki></code>
-
<center>[[ -- |BACK]]</center>
+
====Another Image Gallery====
-
+
(Add/remove columns)
-
.
+
-
END COPY ABOVE HERE.
+
<!--COPY FROM BELOW HERE:-->
-
==MARINA/YACHT CLUB TEMPLATE==
+
<center style="clear: both;">
 +
{| class="wikitable" align=center
 +
|-
 +
|[[Image:Sailing800.jpg|230px]]
 +
|[[Image:Sailing800.jpg|230px]]
 +
|[[Image:Sailing800.jpg|230px]]
 +
  |-
 +
|<small>Comment 1</small>
 +
|<small>Comment 2</small>
 +
|<small>Comment 3</small>
 +
  |}</center>
-
COPY FROM BELOW HERE:
+
<!--END COPY ABOVE HERE:-->
-
{| class="infobox bordered" style="width: 22em; text-align: left; font-size: 90%;"
+
'''''Copy/Paste the template below:''' (change the image file name and add comment)''
 +
 
 +
<code><nowiki><center style="clear: both;"></nowiki><br/>
 +
<nowiki>{| class="wikitable" align=center</nowiki><br/>
 +
<nowiki> |-</nowiki><br/>
 +
<nowiki> |[[Image:Sailing800.jpg|230px]]</nowiki><br/>
 +
<nowiki> |[[Image:Sailing800.jpg|230px]]</nowiki><br/>
 +
<nowiki> |[[Image:Sailing800.jpg|230px]]</nowiki><br/>
 +
<nowiki> |-</nowiki><br/>
 +
<nowiki> |<small>Comment 1</small></nowiki><br/>
 +
<nowiki> |<small>Comment 2</small></nowiki><br/>
 +
<nowiki> |<small>Comment 3</small></nowiki><br/>
 +
<nowiki> |}</center></nowiki></code>
 +
 
 +
<div style="clear: both;"></div>
 +
 
 +
====R/H Gallery====
 +
(Add/remove rows)
 +
 
 +
<!--COPY FROM BELOW HERE:-->
 +
{| class="wikitable" align=right
 +
|-
 +
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 1</small>
 +
|-
 +
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 2</small>
 +
|-
 +
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 3</small>
 +
|-
 +
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 4</small>
 +
|}
 +
 
 +
<!--END COPY ABOVE HERE:-->
 +
 
 +
'''''Copy/Paste the template below:''' (change the image file name and add comment)''
 +
 
 +
<code><nowiki>{| class="wikitable" align=right</nowiki><br/>
 +
<nowiki> |-</nowiki><br/>
 +
<nowiki> |[[Image:Sailing800.jpg|200px]]<br/><small>Comment 1</small></nowiki><br/>
 +
<nowiki> |-</nowiki><br/>
 +
<nowiki> |[[Image:Sailing800.jpg|200px]]<br/><small>Comment 2</small></nowiki><br/>
 +
<nowiki> |-</nowiki><br/>
 +
<nowiki> |[[Image:Sailing800.jpg|200px]]<br/><small>Comment 3</small></nowiki><br/>
 +
<nowiki> |-</nowiki><br/>
 +
<nowiki> |[[Image:Sailing800.jpg|200px]]<br/><small>Comment 4</small></nowiki><br/>
 +
<nowiki>|}</nowiki><br/></code>
 +
 
 +
<div style="clear: both;"></div>
 +
====Googlemap Frame====
 +
<!--COPY FROM BELOW HERE:-->
 +
 
 +
{| class="infobox bordered" style="width: 27em; text-align: right; font-size: 90%;"
|-
|-
-
| colspan="2" style="text-align:center; font-size: large;" | '''Marina Name'''
+
| colspan="2" style="text-align:center;" |  <googlemap lat="47.517201" lon="17.578125" type="map" zoom="1" height="300" selector="no" scale="yes">
 +
</googlemap>
 +
|}
 +
 
 +
<!--END COPY ABOVE HERE:-->
 +
 
 +
<code>'''<nowiki>{| class="infobox bordered" style="width: 27em; text-align: right; font-size: 90%;"</nowiki>'''<br/>
 +
'''<nowiki>|-</nowiki>'''<br/>
 +
'''<nowiki>| colspan="2" style="text-align:center;" | googlemap code here </nowiki>'''<br/>
 +
'''<nowiki>|}</nowiki>'''</code>
 +
 
 +
''Copy/paste the template above - frames the GoogleMap to the right of the page.''
 +
 
 +
<div style="clear: both;"></div>
 +
 
 +
===Tables===
 +
====Wiki table markup summary (''for advanced users'')====
 +
{|cellpadding="5" cellspacing="0" border="1" width="60%"
 +
|
 +
<nowiki>{|</nowiki>
 +
| '''table start'''
|-
|-
-
| colspan="2" style="text-align:center;" | [[Image:Imagefilename.jpg|250px| ]]<br>Marina Pic
+
|
-
|-
+
<nowiki>|+</nowiki>
-
! Co-ords:
+
| table '''caption,''' ''optional;'' only between '''table start''' and first '''table row'''
-
| enter co-ords here
+
|-
|-
-
! Radio:
+
|
-
| VHF - (channel?)
+
<nowiki>|-</nowiki>
-
|-  
+
| '''table row,''' ''optional on first row'' -- wiki engine assumes the first row
-
! Berths:
+
-
| enter number
+
|-
|-
-
! Max draft:
+
|
-
| ??
+
<nowiki>!</nowiki>
 +
| '''table header''' cell, ''optional.'' Consecutive '''table header''' cells may be added on same line separated by double marks (<code>!!</code>) or start on new lines, each with its own single mark (<code>!</code>).
|-  
|-  
-
! Fuel:
+
|
-
| Fuel dock/Cans?
+
<nowiki>|</nowiki>
-
|-
+
| '''table data''' cell, ''required!'' Consecutive '''table data''' cells may be added on same line separated by double marks (<code><nowiki>||</nowiki></code>) or start on new lines, each with its own single mark (<code><nowiki>|</nowiki></code>).
-
! Water:
+
-
| On berth?
+
-
|-
+
-
! Elect:
+
-
| Yes, 240v?
+
-
|-
+
-
! Toilets:
+
-
| Yes/No
+
-
|-
+
-
! Showers:
+
-
| Yes/No
+
-
|-
+
-
! Laundry:
+
-
| Yes/No
+
|-
|-
-
! Internet:
+
|
-
| Yes/No
+
<nowiki>|}</nowiki>
-
|-
+
| '''table end'''
-
! Wi-Fi:
+
-
| Yes/No
+
-
|-
+
-
! Cable TV:
+
-
| Yes/No
+
-
|-
+
-
! Phone No.
+
-
| Enter number
+
-
|-
+
-
! Email add:
+
-
| [mailto:email@marina Email]
+
-
|-
+
-
| colspan="2" style="font-size: smaller;" | More notes  about the Marina
+
|}
|}
 +
* The above marks must '''start on a new line''' except the double <code>||</code> and <code>!!</code> for optionally adding consecutive cells to a line. However, blank spaces at the beginning of a line are ignored.
 +
* '''XHTML attributes.''' Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
 +
** Cells and caption (<code>|</code> or <code>||</code>, <code>!</code> or <code>!!</code>, and <code>|+</code>) hold content. So separate any attributes from content with a single pipe (<code>|</code>). Cell content may follow on same line or on following lines.
 +
** Table and row marks (<code>{|</code> and <code>|-</code>) do not directly hold content. Do ''not'' add pipe (<code>|</code>) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it ''and'' your final attribute if it was touching the erroneous pipe!
 +
*'''Content''' may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headings, or nested tables, must be on its own new line.
 +
* '''Escaping''' to insert a pipe (<code>|</code>) character into a table use the &lt;nowiki&gt; markup
-
===Marina radio contact===
+
====COLUMN TABLE (BORDERED)====
-
Contact details - (before entry), and harbourmaster/manager's name, etc.
+
(Add/delete rows)
-
===Navigation/Approach===
+
<!--COPY FROM BELOW HERE:-->
-
Entry details
+
-
===Berthing===
+
{| border="1"
-
Is berthing assistance available, etc.
+
|-
 +
|'''Heading'''
 +
|Data
 +
|-
 +
|'''Heading'''
 +
|Data 
 +
|-
 +
|'''Heading'''
 +
|Data
 +
|-
 +
|'''Heading or Description'''
 +
|Data - will auto expand to the full width of the page and will auto word wrap to give as many lines as would be needed for the complete data entry so that these blocks can be any size.
 +
|}
-
===Marina facilities===
+
<!--END COPY ABOVE HERE:-->
-
Full on-site details, clubhouse, layout, restuarants, shops, etc.?
+
-
*
+
-
*
+
-
*
+
-
===Repairs===
+
COPY/PASTE CODE BELOW FOR THE ABOVE TABLE:
-
Haul-out?, yard?, etc.
+
-
===Security===
+
<code><nowiki>{| border="1"</nowiki><br/>
-
?
+
<nowiki>|-</nowiki><br/>
 +
<nowiki>|''' Heading '''</nowiki><br/>
 +
<nowiki>|Data</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|''' Heading '''</nowiki><br/>
 +
<nowiki>|Data</nowiki><br/> 
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|''' Heading '''</nowiki><br/>
 +
<nowiki>|Data</nowiki><br/>
 +
<nowiki>|}</nowiki></code>
-
===Marina Location===
+
====Variation of above table====
-
Is it close to shops, tourist attractions, etc.
+
(Add more rows/lines)
-
===Transport===
+
<!--COPY FROM BELOW HERE:-->
-
What road transport is available?
+
-
===Price===
+
{| border="1" cellpadding="2"
-
Current price (give date)
+
|-
 +
|width="200pt"|This column is 200 points wide
 +
|width="200pt"|This column is 200 points wide
 +
|width="200pt"|This column is 200 points wide
 +
|-
 +
|blah || blah || blah
 +
|-
 +
|blah || blah || blah
 +
|-
 +
|blah || blah || blah
 +
|-
 +
|blah || blah || blah
 +
|-
 +
|blah || blah || blah
 +
|}
-
===Contact===
+
<!--END COPY ABOVE HERE:-->
-
Full address, mail address, phone, fax, website, email, etc.
+
-
===Personal experience===
+
====Another Table====
-
Post your personal experience and rating of this marina.
+
'''This is commonly used in this Wiki'''
-
<center>[[------|BACK]]</center>
+
(Add/remove rows/columns as needed - will auto-expand)
-
.
+
=====Option 1=====
 +
<!--COPY FROM BELOW HERE:-->
-
END COPY ABOVE HERE.
+
{| class="wikitable"
 +
|+
 +
! Heading1 !! Heading2 !! Heading3 !! Heading4 !! Heading5 !! Heading6
 +
|-
 +
|valign="top"| Data11 <br/>Data12 <br/>Data13 <br>
 +
|valign="top"| Data21 <br/>Data22 <br/>
 +
|valign="top"| Data31 <br/>Data32 <br/>
 +
|valign="top"| Data41 <br/>Data42 <br/>
 +
|valign="top"| Data51 <br/>Data52 <br/>
 +
|valign="top"| Data61 <br/>Data62 <br/>
 +
|}
-
==PASSAGES TEMPLATE==
+
<!--END COPY ABOVE HERE:-->
-
COPY FROM BELOW HERE:
+
COPY/PASTE THE TEMPLATE BELOW:
-
===Passage ?===
+
<code><nowiki>{| class="wikitable"</nowiki> <br/>
-
?
+
<nowiki>|+</nowiki><br/>
 +
<nowiki>! Heading1 !! Heading2 !! Heading3 !! Heading4 !! Heading5 !! Heading6 </nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|valign="top"| Data11 <br/>Data12 <br/>Data13 <br></nowiki><br/>
 +
<nowiki>|valign="top"| Data21 <br/>Data22 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data31 <br/>Data32 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data41 <br/>Data42 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data51 <br/>Data52 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data61 <br/>Data62 <br/></nowiki><br/>
 +
<nowiki>|}</nowiki></code>
-
Distance = ? <br>
+
'''Or - double header rows''' - (''add/delete columns/rows'')
-
Duration = ?
+
{| class="wikitable"
 +
|+
 +
! Heading1 !! Heading2 !! Heading3 !! Heading4 !! Heading5 !! Heading6
 +
|-
 +
|valign="top"| Data11 <br/>Data12 <br/>Data13 <br>
 +
|valign="top"| Data21 <br/>Data22 <br/>
 +
|valign="top"| Data31 <br/>Data32 <br/>
 +
|valign="top"| Data41 <br/>Data42 <br/>
 +
|valign="top"| Data51 <br/>Data52 <br/>
 +
|valign="top"| Data61 <br/>Data62 <br/>
 +
|+
 +
! Heading7 !! Heading8 !! Heading9 !! Heading10 !! Heading11 !! Heading12
 +
|-
 +
|valign="top"| Data71 <br/>Data72 <br/>Data73 <br>
 +
|valign="top"| Data81 <br/>Data82 <br/>
 +
|valign="top"| Data91 <br/>Data92 <br/>
 +
|valign="top"| Data101 <br/>Data102 <br/>
 +
|valign="top"| Data111 <br/>Data112 <br/>
 +
|valign="top"| Data121 <br/>Data122 <br/>
 +
|}
-
===Departure Points===
+
COPY/PASTE THE TEMPLATE BELOW:
-
Possible departures from:
+
-
*
+
-
*
+
-
*
+
-
*
+
-
===Route (and/or possible stops)===
+
<code><nowiki>{| class="wikitable"</nowiki><br/>
-
(in sequence)
+
<nowiki>|+</nowiki><br/>
-
*
+
<nowiki>! Heading1 !! Heading2 !! Heading3 !! Heading4 !! Heading5 !! Heading6</nowiki><br/>
-
*
+
<nowiki>|-</nowiki><br/>
-
*
+
<nowiki>|valign="top"| Data11 <br/>Data12 <br/>Data13 <br></nowiki><br/>
-
*
+
<nowiki>|valign="top"| Data21 <br/>Data22 <br/></nowiki><br/>
-
*
+
<nowiki>|valign="top"| Data31 <br/>Data32 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data41 <br/>Data42 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data51 <br/>Data52 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data61 <br/>Data62 <br/></nowiki><br/>
 +
<nowiki>|+</nowiki><br/>
 +
<nowiki>! Heading7 !! Heading8 !! Heading9 !! Heading10 !! Heading11 !! Heading12</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|valign="top"| Data71 <br/>Data72 <br/>Data73 <br></nowiki><br/>
 +
<nowiki>|valign="top"| Data81 <br/>Data82 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data91 <br/>Data92 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data101 <br/>Data102 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data111 <br/>Data112 <br/></nowiki><br/>
 +
<nowiki>|valign="top"| Data121 <br/>Data122 <br/></nowiki><br/>
 +
<nowiki>|}</nowiki></code>
-
===Arrival Port/s===
+
=====Option 2=====
-
Possible arrival ports at end of the passage:
+
-
*
+
-
*
+
-
===Charts===
+
<!--COPY FROM BELOW HERE:-->
-
List the charts required for this passage.
+
-
*
+
-
*
+
-
*
+
-
===Climate & Weather Information===
+
{| class="wikitable"
-
Expected climatic & weather conditions?
+
|+
 +
! 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
 +
|}
-
Sources of weather information for the passage:
+
<!--END COPY ABOVE HERE:-->
-
*
+
.
-
*
+
-
===Weather Windows===
+
=====Variation Of Above Table=====
-
(Best time/s for this passage)
+
Add/remove columns/rows as needed.
-
===Radio Nets===
+
<!--COPY FROM BELOW HERE:-->
-
''Also see [[HF_Radio|Cruiser's Nets]]
+
-
List radio Nets covering this passage.
+
{| class="wikitable"
 +
| colspan=8 align=center bgcolor=#c0c0c0 style=font-size:14px;font-weight:bold| Overall Heading
 +
|+
 +
! Heading1 !! Heading2 !! Heading3  !! Heading4 !! Heading5 !! Heading6  !! Heading7
 +
|-
 +
| valign="top" | Data11<br/>Data12 <br/>Data13<br/>Data14<br/>
-
===The Passage===
+
| valign="top" | Data21<br/>Data22<br/>Data23<br/>
-
Full description of the passage?
+
-
===References===
+
| valign="top" | Data31<br/>Data32<br/>
-
Books, guides, etc.
+
-
*
+
-
*
+
-
===CruiserLog Forum discussions===
+
| valign="top" | Data41<br/>Data42<br/>Data43<br/>
-
Links to discussions on the CruiserLog Forum
+
-
===External Links===
+
| valign="top" | Data51<br/>Data52<br/>Data53<br/>Data54<br/>
-
Links to relevant websites.
+
-
*
+
-
*
+
-
===Personal Notes===
+
| valign="top" | Data61<br/>Data62<br/>Data63<br/>Data64<br/>Data65<br/>
-
Personal experiences?
+
 +
| valign="top" | Data71<br/>Data72<br/><br/>
 +
|}
-
{{Guide1}}
+
<!--END COPY ABOVE HERE:-->
 +
Copy and Paste the code below:
-
<center>[[------|BACK]]</center>
+
<code><nowiki>{| class="wikitable"</nowiki></code>
 +
 +
<code><nowiki>| colspan=8 align=center bgcolor=#c0c0c0 style=font-size:14px;font-weight:bold| Overall Heading</nowiki></code>
-
.
+
<code><nowiki>|+</nowiki></code>
-
END COPY ABOVE HERE.
+
<code><nowiki>! Heading1 !! Heading2 !! Heading3  !! Heading4 !! Heading5 !! Heading6  !! Heading7</nowiki></code>
 +
 +
<code><nowiki>|-</nowiki></code>
-
==GOOGLEMAP FRAME==
+
<code><nowiki>| valign="top" | Data11<br/>Data12 <br/>Data13<br/>Data14<br/></nowiki></code>
-
START COPY BELOW HERE:
+
<code><nowiki>| valign="top" | Data21<br/>Data22<br/>Data23<br/></nowiki></code>
 +
 +
<code><nowiki>| valign="top" | Data31<br/>Data32<br/></nowiki></code>
 +
 
 +
<code><nowiki>| valign="top" | Data41<br/>Data42<br/>Data43<br/></nowiki></code>
 +
 
 +
<code><nowiki>| valign="top" | Data51<br/>Data52<br/>Data53<br/>Data54<br/></nowiki></code>
 +
 
 +
<code><nowiki>| valign="top" | Data61<br/>Data62<br/>Data63<br/>Data64<br/>Data65<br/></nowiki></code>
 +
 
 +
<code><nowiki>| valign="top" | Data71<br/>Data72<br/></nowiki></code>
 +
 
 +
<code><nowiki>|}</nowiki></code>
 +
 
 +
====And Another Table====
 +
''Add/cut columns and/or rows''
 +
 
 +
<!--COPY FROM BELOW HERE:-->
 +
 
 +
{| class="wikitable" style="margin: 1em auto 1em auto;"
 +
|- bgcolor="#ABCDEF" align="center"
 +
| '''Heading1''' || '''Heading2''' || '''Heading3''' || '''Heading4''' || '''Heading5'''
-
{| class="infobox bordered" style="width: 27em; text-align: right; font-size: 90%;"
 
|-
|-
-
| colspan="2" style="text-align:center;" | ..googlemap code here...
+
|id "Heading1" valign="top" |
 +
: Data1.1
 +
: Data1.2
 +
: Data1.3
 +
: Data 1.4
 +
 
 +
|id "Heading2" valign="top" |
 +
: Data2.1
 +
: Data2.2
 +
: Data2.3
 +
: Data 2.4
 +
: Data 2.5
 +
 
 +
|id "Heading3" valign="top" |
 +
: Data3.1
 +
: Data3.2
 +
 
 +
|id "Heading4" valign="top" |
 +
: Data4.1
 +
 
 +
|id "Heading5" valign="top" |
 +
: Data5.1
 +
: Data5.2
 +
: Data5.3
 +
: Data 5.4
 +
: Data 5.5
 +
: Data 5.6
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
-
==3 COLUMN TABLE (BORDERED)==
+
====Simple 4 Column Table====
-
(Add more rows/lines)
+
(Add more rows/columns within)
-
START COPY BELOW HERE:
+
<!--COPY FROM BELOW HERE:-->
-
{| border="1" cellpadding="2"
+
{|
 +
|  Orange    ||  Apple  ||  more  ||  more
|-
|-
-
|width="200pt"|This column is 200 points wide
+
|   Bread    ||   Pie    ||   more  ||  more
-
|width="200pt"|This column is 200 points wide
+
-
|width="200pt"|This column is 200 points wide
+
|-
|-
-
|blah || blah || blah
+
|   Butter  || Cream  ||   more  ||  more
|-
|-
-
|blah || blah || blah
+
|   more    ||   more    ||   more  ||  more
 +
|}
 +
 
 +
<!--END COPY ABOVE HERE:-->
 +
 
 +
CODE FOR ABOVE TABLE:
 +
 
 +
<code><nowiki>{|</nowiki><br/>
 +
<nowiki>|  Orange    ||  Apple  ||  more  ||  more</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|  Bread    ||  Pie    ||  more  ||  more</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|  Butter  ||  Cream  ||  more  ||  more</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|  more    ||  more    ||  more  ||  more</nowiki><br/>
 +
<nowiki>|}</nowiki></code>
 +
 
 +
===Featured Sections/Pages===
 +
 
 +
<!--COPY FROM BELOW HERE:-->
 +
 
 +
{| border="1" cellpadding="2"
|-
|-
-
|blah || blah || blah
+
|width="30pt"|[[Image:CLicon.png]]
-
|-
+
|width="100%"| <font color="red"> '''FEATURED PAGES:'''</font> [[Place Page Links Here|Page Links]],
-
|blah || blah || blah
+
|}
 +
 
 +
<!--END COPY ABOVE HERE:-->
 +
 
 +
 
 +
 
 +
===Information Box===
 +
<!----- START COPY BELOW HERE ----->
 +
 
 +
{| border="1" cellpadding="2"
|-
|-
-
|blah || blah || blah
+
|width="30pt" | {{Small info}}
 +
|width="100%"| Text
|}
|}
-
END COPY ABOVE HERE.
+
<!----- END COPY ABOVE HERE ----->
 +
Copy the template (in bold type) below:
-
==SIMPLE 4 COLUMN TABLE==
+
<code>'''<nowiki> {| border="1" cellpadding="2"</nowiki>'''<br/>
-
(Add more rows/lines within)
+
'''<nowiki>|-</nowiki>'''<br/>
 +
'''<nowiki>|width="30pt" | {{Small info}}</nowiki>'''<br>
 +
'''<nowiki>|width="100%"| Text </nowiki>'''<br/>
 +
'''<nowiki>|} </nowiki>'''</code>
-
START COPY BELOW HERE:
+
Alternative icons for the above template:
 +
* {{Large lock}} '''<nowiki>{{Large lock}}</nowiki>'''<br/>
 +
* {{Small lock}} '''<nowiki>{{Small lock}}</nowiki>'''<br/>
 +
* {{Info}} '''<nowiki>{{Info}}</nowiki>'''<br/>
 +
* {{Small info}} '''<nowiki>{{Small info}}</nowiki>'''<br/>
-
{|
+
Use the above to suit.
-
| Orange    ||   Apple  ||   more  ||   more
+
 
 +
'''Other General Icons'''
 +
* [[image:Poe.jpg‎]] = Port of entry <br /> use: '''<nowiki>[[image:Poe.jpg]]</nowiki>'''
 +
* [[image:TopWiki.png]] = Featured article.<br /> use: '''<nowiki>[[image:TopWiki.png]]</nowiki>'''
 +
* [[image:Question_icon.png]] = Article/page link needs data.<br /> use: '''<nowiki>[[image:Question_icon.png]]</nowiki>'''
 +
* [[image:sailboat_smallest_icon.png]] = Harbour <br /> use: '''<nowiki>[[Image:Harbour_icon.png]]</nowiki>
 +
* [[image:Marina_icon.png]] = Marina (full services) <br > use: '''<nowiki>[[image:Marina_icon.png]]</nowiki>
 +
* [[image:Icon_marina.png]] = Marina (some services only) <br /> use: '''<nowiki>[[image:Icon_marina.png]]</nowiki>
 +
* [[image:Icon_anchor.png]] = Anchorage (overnight) <br /> use: '''<nowiki>[[image:Icon_anchor.png]]</nowiki>
 +
* [[image:Anchor_Icon.png]] = Anchorage (day only) <br /> use: '''<nowiki>[[image:Anchor_Icon.png]]</nowiki>
 +
* [[Image:Island icon.png]] = Island <br /> use: '''<nowiki>[[Image:Island icon.png]]</nowiki>
 +
* [[List_of_Countries_A_to_Z|'''Country Flag Icons''']] <br> use the general form '''<nowiki>[[image:Country_Icon.png]]</nowiki>''' (Note capitals)
 +
* [[General Icons|'''MORE ICONS''']]
 +
 
 +
===Page Navigation Strip===
 +
 
 +
Place at the top of pages.
 +
 
 +
Copy/Paste template below:
 +
 
 +
<Code><nowiki>{{IsPartOf|{{Magenta|Place Page Links Here}}|{{Magenta|Place Page Links Here}}}}</nowiki></code>
 +
 
 +
<Code><nowiki>{{TOC block}}</nowiki></code>
 +
 
 +
===News Block===
 +
 
 +
<!--COPY FROM BELOW HERE:-->
 +
 
 +
{| class="infobox bordered" style="width:300px; border:1px solid #FF3300; background:#FFFFFF; vertical-align:top;"
|-
|-
-
|   Bread    ||  Pie    ||  more  ||  more
+
| colspan="2" style="margin:0; background:#ffe4e1; font-size:120%; font-weight:bold; border:1px solid #FF3300; text-align:center; color:#000000; padding:0.2em 0.4em;" | {{Small info}} '''Latest News'''
|-
|-
-
|   Butter  || Cream  ||   more  ||   more
+
| colspan="2" style="text-align:left;" | Content - news items, etc.
 +
|-
 +
|}
 +
 
 +
<!--END COPY ABOVE HERE:-->
 +
 
 +
''Copy the template below:''
 +
 
 +
<code><nowiki>{| class="infobox bordered" style="width:300px; border:1px solid #FF3300; background:#FFFFFF; vertical-align:top;"</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>| colspan="2" style="margin:0; background:#ffe4e1; font-size:120%; font-weight:bold; border:1px solid #FF3300; text-align:center; color:#000000; padding:0.2em 0.4em;" | {{Small info}} '''Latest News'''</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>| colspan="2" style="text-align:left;" | Content - news items, etc.</nowiki><br/>
 +
<nowiki>|-</nowiki><br/>
 +
<nowiki>|}</nowiki><br/></code>
 +
 
 +
===Page Contributor's List===
 +
 
 +
''Placed at the bottom of the page''.
 +
 
 +
<pre><nowiki>{{Contributors|~~~}}
 +
</nowiki></pre>
 +
Example:
 +
<pre><nowiki>{{Contributors|[[User:Vadp|Vadp]], ~~~}}
 +
</nowiki></pre>
 +
Expands to:
 +
 
 +
{{Contributors
 +
|[[User:Vadp|Vadp]], [[User:Istioploos|Istioploos]]}}
 +
 
 +
===Another Info Panel===
 +
 
 +
<!--COPY FROM BELOW HERE:-->
 +
 
 +
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#fff5ee; border:1px solid #fa8072;"
 +
! <h2 id="mp-itn-h2" style="margin:0; background:#ffe4e1; font-size:120%; font-weight:bold; border:1px solid #fa8072; text-align:left; color:#000; padding:0.2em 0.4em;">Heading</h2>
|-
|-
-
|   more    ||  more    ||  more  ||  more
+
|style="color:#000;"| Contents here
|}
|}
-
END COPY ABOVE HERE.
+
<!--END COPY ABOVE HERE:-->
-
.
+
 
 +
===Featured Article===
 +
{{Top}} = ''Featured Article''
 +
 
 +
Use: <code>'''<nowiki>{{Top}}</nowiki>'''</code>
 +
 
 +
===Call For Editors===
 +
 
 +
<!--COPY FROM BELOW HERE:-->
 +
 
 +
{|id="mp-right" width="100%" cellpadding="2" cellspacing="1" style="vertical-align:top; background:#fff5ee; border:1px solid #fa8072;"
 +
! <h2 id="mp-itn-h2" style="margin:0; background:#ffe4e1; font-size:120%; font-weight:bold; border:1px solid #fa8072; text-align:left; color:#000; padding:0.2em 0.4em;">HELP! This section is lagging behind in development.</h2>
 +
|-
 +
|style="color:#000;"| 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.
 +
|}
 +
 
 +
<!--END COPY ABOVE HERE:-->
 +
 
 +
 
 +
 
 +
===Message Buoy===
 +
For the [[Message_Buoy|Cruiser's Message Buoy]]
 +
 
 +
<!--COPY FROM BELOW HERE:-->
 +
 
 +
== '''Enter Boat's Name Here''' ==
 +
{|
 +
|[[Image:YourUploadedImageName.jpg|thumb|150px|left|Description 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''
 +
|}
 +
----
 +
 
 +
<!--END COPY ABOVE HERE:-->
 +
 
 +
''Copy/Paste the template below here''
 +
 
 +
<code><nowiki>== Enter Your Boat's Name Here ==</nowiki><br/>
 +
<nowiki>{|</nowiki><br/>
 +
<nowiki>|[[Image:YourUploadedImageName.jpg|thumb|150px|left|Description Here]]</nowiki><br/>
 +
<nowiki>|</nowiki><br/>
 +
<nowiki>* '''Cruiser:'''  EnterYourNameHere</nowiki><br/>
 +
<nowiki>* '''Mate:'''  EnterMate'sNameHere</nowiki><br/>
 +
<nowiki>* '''Crew:'''  EnterCrewNamesHere</nowiki><br/>
 +
<nowiki>* '''From:'''  EnterHomePortHere</nowiki><br/>
 +
<nowiki>* '''Boat:'''  EnterBoatTypeAndSizeHere</nowiki><br/>
 +
<nowiki>* '''Been Cruising For:'''  EnterHowLongHere</nowiki><br/>
 +
<nowiki>* '''Current Cruising Area:'''  EnterCurrentLocationHere</nowiki><br/>
 +
<nowiki>* '''Heading Towards:'''  EnterWhereToNextHere</nowiki><br/>
 +
<nowiki>* '''Boat's Website:'''  [FullWebsiteURLHere Website/Blog]</nowiki><br/>
 +
<nowiki>* '''Wiki Username:'''  "YourWikiUsername"</nowiki><br/> 
 +
<nowiki>'''''Details Updated:'''  EnterDateHere''</nowiki><br/>
 +
<nowiki>|}</nowiki><br/>
 +
<nowiki>----</nowiki><br/></code>
 +
 
 +
''End Copy/Paste the template above here (including the 4 dashes at the bottom)''
 +
 
 +
===Various Editing Code Snippets===
 +
* Hold vertical space = <code><nowiki>{{hold vertical}}</nowiki></code>
 +
* Hold horizonta space - <code><nowiki>{{hold horizontal}}</nowiki></code>
 +
 
 +
{{Contributors|[[User:Lighthouse|Lighthouse]], [[User:Istioploos|Istioploos]], [[User:Atheneoflymington|Atheneoflymington]], [[User:Vadim|Vadim]]}}
 +
 
 +
[[Category:Website]]

Latest revision as of 19:46, 9 March 2017

WorldPagetemplatesPage templates

Also see the Cruising Wiki's Wiki Editor's Guide and Style Guide.

There are two kinds of templates in this wiki: Page templates, described in this page, and Embeddable templates, described in a separate page Help:Embeddable templates.

There are page templates for the most common pages or articles used in the CruisersWiki. Page templates contain all the needed wiki code but no specific information. To make a new page or article first create it, then select the appropriate template from the table below and click on the template page, then click on the view source (top of page) and copy the template's Wiki-code from the editor to paste in a newly created page.

Please DO NOT edit/change the templates on these "template" pages. You can add/delete/edit items in the new page that you create.

Embeddable templates are small snippets of wiki code enclosed in 2 curly brackets ({{code}}), some of them with parameters, that provide convenient shortcuts to frequently used code sequences. An example is the familiar Coord Template {{Coord|DD|M.M|N/S|DD|M.M|E/W|}}.

Also, keep in mind that templates are Protected which means that you cannot alter it. However, if you think that any changes to the template are desirable, contact the wiki administrators by making an entry describing the proposed changes and your reason in its corresponding Discussion Page (second right button at the top of this page).

Use of Templates

Instructions

Specific instructions are colored Green. In "Edit" mode, after you copy a template in a new page, these will appear as:

{{GreenText|Please remove the below item if you have provided some content material for this page}}

and are to be removed.

Substitute Items

Items in Magenta are to be substituted. In "Edit" mode, after you copy a template in a new page, these will appear either as:

{{MagentaText|xx}}

or as

<span style="color:Magenta">xx</span>

These are to be replaced with your information. Sometimes you may not have this information, in this case leave them alone for the next editor.

Major Page Templates

We are in the process of changing the page templates.

If there is only one entry in the following table, this links to the newest template. The rest of the table lists twoeach one it lists two links: the first is to the traditional template older while the second is to a newer corresponding version that makes extensive use of embeddable templates. This new version is easier and less error-prone than its corresponding traditional template. Both of these will be replaced by one page template per category.

Template Notes
Country Countries (non-island), states, territories & provinces. For example France, Australia, California, Queensland, Russia, etc.
Island Group A group of islands. For example Caribbean, Balearics, etc.
Island Country A country consisting of a single island or a small island group. For example Malta, Madagascar, and many Caribbean islands like Barbados, St Lucia, etc.
Region, Small A small region with just a few countries with few ports, anchorages, and Islands (i.e. Ionian Sea). These are handled with a single table.
Region, Large A large region with several countries that include regions, ports, anchorages, and Islands. For example North Atlantic, Mediterranean, Black Sea, Canary Islands, Aegean, etc.. These regions are handled with several sections and tables.
Region, Small Country A small region within a single country. It has just a few ports, Anchorages, and Islands (i.e.Canary Islands). These are handled in a list.
Region, Large Country A large region within a single country. It has several ports, anchorages, and Islands (i.e Aeolian Coast). These are handled with one or more tables.
Passage For example Aegean to West Mediterranean Passages, Trans-Atlantic, Europe to Caribbean, etc.
Island Other islands (not countries). For example Sardinia, Samos, Tahiti, Bonifacio, etc.
Port/Anchorage Ports (harbours) and anchorages meriting a separate page. For example Pythagorio, Almeria, Bodrum, Castelsardo, etc.
Marina/Yacht Club For example Samos Marina, Club del Mar Marina, Bodrum Marina, etc.
Canal For example Corinth Canal, Crinan Canal, etc.

NOTE: Some of the headings in a template may not be appropriate for a specific page: Do not feel compelled to use them.

Other Useful Page Templates

Co-ordinates

Enter co-ordinates in a page using the "template-call" as shown immediately below this line (in bold):

{{mark | lat= DD.dd | lon= DDD.dd | zoom= | type= | name= }}

Copy the above template (shown in bold) and paste it into the Wiki page editor, fill in the co-ords details and SAVE the edit (don't forget to select either N or S, and 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 Panoramio, etc.

Example: {{mark | lat= 38.60339 | lon= -27.52998 |zoom= 9 |type= waypoint} | name= Way point}} will show as: Way point/wiki/Help:Page_templates#Way_pointWorld icon.png Way point [[Help:Page templates#Way point|Way point]] 38°36.203'N, 027°31.799'W after saving the edit and clicking on the coordinates your browser (if capable) will show a chart of the way point.

Alternatively, you can use the form {{mark |DDIM.M|N/S|DDD|M.M|E/W| | zoom= | type= | name= }}

Example: {{mark |37|43.6|N|26|50.6|W| | zoom= 7 | type= waypoint | name= My point}} will show as: My point/wiki/Help:Page_templates#My_pointWorld icon.png My point [[Help:Page templates#My point|My point]] 37°43.6′N, 26°50.6′W .

Co-ordinates Info

Small info.png (Click links for more information)
World icon.png
DD°M.M′N/S, DD°M.M′E/W
Photo icon.png
[ Photo gallery]
Chart icon.png
[ Local chartlet]

Copy the template below:

{| class="infobox bordered" style="width: 28em; text-align: left; font-size: 85%;"
|-
| colspan="2" style="text-align:center; font-size: smaller;" | {{Small info}} (''Click links for more information'')
|-
! <center>[[image:World_icon.png]]</center>
| {{Coord|DD|M.M|N/S|DD|M.M|E/W|}}
|-
! <center>[[image:Photo_icon.png]]</center>
| [ Photo gallery]
|-
! <center>[[image:Chart_icon.png]]</center>
| [ Local chartlet]
|}

  • Paste the template to a page and enter the coordinates (as explained in the "Coordinates Template" above) and "Save".
  • Click on the coordinates link that will take you to the "Geohack" page.
  • Click on "Panoramio" (under photo links) and set the photo "map" for the coords. When correct (select "show all photos"), copy the Panoramio URL and paste to MS Notepad.
  • Return to the Geohack page and click on "MapTech" for the local "chartlet". Use zooming, etc., to select the best chartlet and copy the MapTech URL.
  • Return to the Cruising Wiki page containing the Infobox template and add these URLs for the Photos and Chartlet.

The above guide is the same for existing Infobox templates on pages that have already been set up.

The Co-ordinates Info is also implemented as an embeddable template, see Template:Infobox/doc.

General (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.

Discussion Page

<page name> Discussion Page

Suggest new content sections/headings, post questions, general suggestions, etc., below.

Click on the "+" sign next to "Edit" (top of page tab) to open a new topic for discussion or "Edit" to add to or comment on existing topics on this page.





BACK


START COPY BELOW HERE

=== <page name> Discussion Page ===
Suggest new content sections/headings, post questions, general suggestions, etc., below.

''Click on the "+" sign next to "Edit" (top of page tab) to open a new topic for discussion or "Edit" to add to or comment on existing topics on this page''.
*

END COPY ABOVE HERE

Images

Simple Image

Place comment here - Click for larger view


[[Image:Sailing800.jpg|thumb|325px|right| '''Place comment here''' - ''Click for larger view'' ]]

Copy/paste the "format" above (in bold black) - (change "Sailing800.jpg" to your image file name)

(Change as required - .jpg, .png, .gif - size(px) - Left/right align - Comment, etc. Change the "Imagefilename & extension" to the image filename of the image that you uploaded to the Wiki).

Remember: Upload the image to the Wiki FIRST - keep the image filename short & descriptive.

Resize images to max 600px X 600px (BEFORE uploading). (Recommended free software for resizing images)

Image Gallery

This makes a gallery of images - three in a row (add/remove). Note: perrow="3" - means three per row



Copy/Paste the template below: (Change gallery caption and image file name and add the comment)

<center style="clear: both;"><gallery caption="name of the gallery (optional)" widths="210px" heights="140px" perrow="3">
Image:Sailing800.jpg|Comment
Image:Sailing800.jpg|Comment
Image:Sailing800.jpg|Comment
</gallery></center>

Another Image Gallery

(Add/remove columns)


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


Copy/Paste the template below: (change the image file name and add comment)

<center style="clear: both;">
{| class="wikitable" align=center
|-
|[[Image:Sailing800.jpg|230px]]
|[[Image:Sailing800.jpg|230px]]
|[[Image:Sailing800.jpg|230px]]
|-
|<small>Comment 1</small>
|<small>Comment 2</small>
|<small>Comment 3</small>
|}</center>

R/H Gallery

(Add/remove rows)

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


Copy/Paste the template below: (change the image file name and add comment)

{| class="wikitable" align=right
|-
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 1</small>
|-
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 2</small>
|-
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 3</small>
|-
|[[Image:Sailing800.jpg|200px]]<br/><small>Comment 4</small>
|}

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.

Tables

Wiki table markup summary (for advanced users)

{|
table start
|+
table caption, optional; only between table start and first table row
|-
table row, optional on first row -- wiki engine assumes the first row
! 
table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|
table data cell, required! Consecutive table data cells may be added on same line separated by double marks (||) or start on new lines, each with its own single mark (|).
|}
table end
  • The above marks must start on a new line except the double || and !! for optionally adding consecutive cells to a line. However, blank spaces at the beginning of a line are ignored.
  • XHTML attributes. Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
    • Cells and caption (| or ||, ! or !!, and |+) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
    • Table and row marks ({| and |-) do not directly hold content. Do not add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it and your final attribute if it was touching the erroneous pipe!
  • Content may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headings, or nested tables, must be on its own new line.
  • Escaping to insert a pipe (|) character into a table use the <nowiki> markup

COLUMN TABLE (BORDERED)

(Add/delete rows)


Heading Data
Heading Data
Heading Data
Heading or Description Data - will auto expand to the full width of the page and will auto word wrap to give as many lines as would be needed for the complete data entry so that these blocks can be any size.


COPY/PASTE CODE BELOW FOR THE ABOVE TABLE:

{| border="1"
|-
|''' Heading '''
|Data
|-
|''' Heading '''
|Data
|-
|''' Heading '''
|Data
|}

Variation of above table

(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

This is commonly used in this Wiki

(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


COPY/PASTE THE TEMPLATE BELOW:

{| class="wikitable"
|+
! Heading1 !! Heading2 !! Heading3 !! Heading4 !! Heading5 !! Heading6
|-
|valign="top"| Data11 <br/>Data12 <br/>Data13 <br>
|valign="top"| Data21 <br/>Data22 <br/>
|valign="top"| Data31 <br/>Data32 <br/>
|valign="top"| Data41 <br/>Data42 <br/>
|valign="top"| Data51 <br/>Data52 <br/>
|valign="top"| Data61 <br/>Data62 <br/>
|}

Or - double header rows - (add/delete columns/rows)

Heading1 Heading2 Heading3 Heading4 Heading5 Heading6
Data11
Data12
Data13
Data21
Data22
Data31
Data32
Data41
Data42
Data51
Data52
Data61
Data62
Heading7 Heading8 Heading9 Heading10 Heading11 Heading12
Data71
Data72
Data73
Data81
Data82
Data91
Data92
Data101
Data102
Data111
Data112
Data121
Data122

COPY/PASTE THE TEMPLATE BELOW:

{| class="wikitable"
|+
! Heading1 !! Heading2 !! Heading3 !! Heading4 !! Heading5 !! Heading6
|-
|valign="top"| Data11 <br/>Data12 <br/>Data13 <br>
|valign="top"| Data21 <br/>Data22 <br/>
|valign="top"| Data31 <br/>Data32 <br/>
|valign="top"| Data41 <br/>Data42 <br/>
|valign="top"| Data51 <br/>Data52 <br/>
|valign="top"| Data61 <br/>Data62 <br/>
|+
! Heading7 !! Heading8 !! Heading9 !! Heading10 !! Heading11 !! Heading12
|-
|valign="top"| Data71 <br/>Data72 <br/>Data73 <br>
|valign="top"| Data81 <br/>Data82 <br/>
|valign="top"| Data91 <br/>Data92 <br/>
|valign="top"| Data101 <br/>Data102 <br/>
|valign="top"| Data111 <br/>Data112 <br/>
|valign="top"| Data121 <br/>Data122 <br/>
|}

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


Copy and Paste the code below:

{| class="wikitable"

| colspan=8 align=center bgcolor=#c0c0c0 style=font-size:14px;font-weight:bold| Overall Heading

|+

! Heading1 !! Heading2 !! Heading3 !! Heading4 !! Heading5 !! Heading6 !! Heading7

|-

| valign="top" | Data11<br/>Data12 <br/>Data13<br/>Data14<br/>

| valign="top" | Data21<br/>Data22<br/>Data23<br/>

| valign="top" | Data31<br/>Data32<br/>

| valign="top" | Data41<br/>Data42<br/>Data43<br/>

| valign="top" | Data51<br/>Data52<br/>Data53<br/>Data54<br/>

| valign="top" | Data61<br/>Data62<br/>Data63<br/>Data64<br/>Data65<br/>

| valign="top" | Data71<br/>Data72<br/>

|}

And Another Table

Add/cut columns and/or rows


Heading1 Heading2 Heading3 Heading4 Heading5
Data1.1
Data1.2
Data1.3
Data 1.4
Data2.1
Data2.2
Data2.3
Data 2.4
Data 2.5
Data3.1
Data3.2
Data4.1
Data5.1
Data5.2
Data5.3
Data 5.4
Data 5.5
Data 5.6


Simple 4 Column Table

(Add more rows/columns within)


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


CODE FOR ABOVE TABLE:

{|
| Orange || Apple || more || more
|-
| Bread || Pie || more || more
|-
| Butter || Cream || more || more
|-
| more || more || more || more
|}

Featured Sections/Pages

CLicon.png FEATURED PAGES: Page Links,



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]]
  • TopWiki.png = Featured article.
    use: [[image:TopWiki.png]]
  • Question icon.png = Article/page link needs data.
    use: [[image:Question_icon.png]]
  • Sailboat smallest icon.png = Harbour
    use: [[Image:Harbour_icon.png]]
  • Marina icon.png = Marina (full services)
    use: [[image:Marina_icon.png]]
  • Icon marina.png = Marina (some services only)
    use: [[image:Icon_marina.png]]
  • Icon anchor.png = Anchorage (overnight)
    use: [[image:Icon_anchor.png]]
  • Anchor Icon.png = Anchorage (day only)
    use: [[image:Anchor_Icon.png]]
  • Island icon.png = Island
    use: [[Image:Island icon.png]]
  • Country Flag Icons
    use the general form [[image:Country_Icon.png]] (Note capitals)
  • MORE ICONS

Page Navigation Strip

Place at the top of pages.

Copy/Paste template below:

{{IsPartOf|{{Magenta|Place Page Links Here}}|{{Magenta|Place Page Links Here}}}}

{{TOC block}}

News Block

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


Copy the template below:

{| class="infobox bordered" style="width:300px; border:1px solid #FF3300; background:#FFFFFF; vertical-align:top;"
|-
| colspan="2" style="margin:0; background:#ffe4e1; font-size:120%; font-weight:bold; border:1px solid #FF3300; text-align:center; color:#000000; padding:0.2em 0.4em;" | {{Small info}} '''Latest News'''
|-
| colspan="2" style="text-align:left;" | Content - news items, etc.
|-
|}

Page Contributor's List

Placed at the bottom of the page.

{{Contributors|~~~}}

Example:

{{Contributors|[[User:Vadp|Vadp]], ~~~}}

Expands to:

SailorSmiley.gifContributors to this page

Names: Vadp, Istioploos


Another Info Panel

Heading

Contents here


Featured Article

TopWiki.png = Featured Article

Use: {{Top}}

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

For the Cruiser's 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



Copy/Paste the template below here

== Enter Your Boat's Name Here ==
{|
|[[Image:YourUploadedImageName.jpg|thumb|150px|left|Description 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''
|}
----

End Copy/Paste the template above here (including the 4 dashes at the bottom)

Various Editing Code Snippets

  • Hold vertical space = {{hold vertical}}
  • Hold horizonta space - {{hold horizontal}}
SailorSmiley.gifContributors to this page

Names: Lighthouse, Istioploos, Atheneoflymington, Vadim


Personal tools
advertisement
Friends of Cruisers Wiki