Form:Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (wordsmith)
(add example simple table output)
Line 143: Line 143:
|Returns a photo gallery of the images associated with a specified trail. This same template can be used for Parks simply by replacing Trail with Park. Images need to be tagged to enable the template to find them and show them.
|Returns a photo gallery of the images associated with a specified trail. This same template can be used for Parks simply by replacing Trail with Park. Images need to be tagged to enable the template to find them and show them.
|}
|}
[https://www.mediawiki.org/wiki/Extension:SimpleTable Simple Tables] are available to easily add tables to your page. This allows more "logical" and compact addition of simple tables to the page. You can also type out a table in a spreadsheet and save the content as a comma delimited or tab delimited file and paste it between the table commands. Tab delimited is useful if you want to use commas in the text. See the link for details but most usage is likely as follows (omit "sep=comma" if the data is tab delimited):
[https://www.mediawiki.org/wiki/Extension:SimpleTable Simple Tables] are available to easily add tables to your page. This allows more "logical" and compact addition of simple tables to the page. You can also type out a table in a spreadsheet and save the content as a comma delimited or tab delimited file and paste it between the table commands. Tab delimited is useful if you want to use commas in the text. Excel's "Save as..." includes an option to save as both tab and comma delimited text files. You will do that, then open the created text file, then post it between the tab open and close commands. See the link for details but most usage is likely as follows (omit "sep=comma" if the data is tab delimited):
<pre><tab class=wikitable sep=comma head=top>
{| class="wikitable"
|+Example simple table usage
!Wiki table code
!How it would be shown
|-
|<pre><tab class=wikitable sep=comma head=top>
Head 1,Head 2,Head 3
Head 1,Head 2,Head 3
Field 4,Field 5,Field 6
Field 4,Field 5,Field 6
Field 7,Field 8,Field 9
Field 7,Field 8,Field 9
</tab></pre>
</tab></pre>
|<tab class=wikitable sep=comma head=top>
Head 1,Head 2,Head 3
Field 4,Field 5,Field 6
Field 7,Field 8,Field 9
</tab>
|}
|}



Revision as of 00:08, 13 December 2019

This is the "Trail" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.