m |
m |
||
Line 73: | Line 73: | ||
==Transclusions== | ==Transclusions== | ||
− | + | *A transclusion is the inclusion of material from another page on the page you are editing. That is, the transclusion command tells the wiki to go grab information from another page and insert it on the page being edited. | |
− | + | *The coding for a transclusion is {{:page name}}. In this case, the information on page name is placed on the page you are editing. | |
− | + | *Transclusions are very useful for material that is used in multiple places in the wiki. For example, the table Design infiltration rates appears on 13 different pages in the wiki. The actual table exists on just one page - https://stormwater.pca.state.mn.us/index.php?title=Design_infiltration_rates. Whenever we edit the information in this table, the table automatically updates at the 13 locations where it is transcluded. | |
− | + | *There may be material on a page that you do not want to be transcluded to another page. On the page to be transcluded, use <noinclude>text</noinclude> for text you do not want transcluded. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==Links== | |
− | + | *Link to other websites liberally, including reports/articles if they are available on the web. | |
− | + | *Do not link to vendor sites unless justifiable. For example, when discussing structural soils for tree trenches, it is necessary to mention specific vendors. In this case, try to be inclusive and link to multiple vendors if appropriate. Place an alert (see below) at the top of the page that states: Reference to any specific commercial product, process, or service by trade name, trademark, service mark, manufacturer, or otherwise does not constitute or imply endorsement, recommendation, or favoring by the Minnesota Pollution Control Agency. | |
− | + | *Links can be internal (to another location in the wiki) or external (to a location outside the wiki). | |
− | a | + | *For external links the coding is [url text you want the reader to see]. Note the space between the url and the text you want the reader to see. In the following example, the link is to a Mediawiki site and the user sees the word Mediawiki highlighted in blue, indicating a link: [https://www.mediawiki.org/wiki/MediaWiki Mediawiki]. |
− | + | *Internal links can use the same coding as external links. You may also create internal links with the following coding: [[Page name|text]]. The page name must exactly match the page you want to link to. | |
− | + | *Within the wiki, you can link to any header or subheader on a page. Just go to that section on a page and copy the url (each section on a page has its own url). | |
− | + | ==[https://stormwater.pca.state.mn.us/index.php?title=Bioretention_combined#Terminology Alert boxes] | |
− | + | *{{alert|text|alert-type}} | |
+ | *Danger for permit requirements; warning for recommendations, important items, etc., info for information items; success for green infrastructure; under-review; under-construction | ||
+ | |||
+ | ==File uploads== | ||
+ | *When you are logged in, you can upload files into the wiki. Click on Upload file in the left toolbar. On the upload page you will see the acceptable file types. File size is limited to 100 megabytes. | ||
+ | *Click on the Choose file button and navigate to the file you are uploading. At the bottom of the page click on Upload file. | ||
+ | *Occasionally you will get a message or warning about the file. Examples include duplicate files, replacing a file with the same name, or a message saying the file you are uploading is empty. In the case where a file is said to be empty, it typically means you are trying to load a Microsoft file created as a version that is not being read by the wiki. You should go back into the file and save it in a format compatible with the wiki (e.g. you may need to save the file as .docx rather than .doc). For other messages and warning, you will typically be given a menu of options for addressing the issue. | ||
+ | |||
+ | ==Inserting a document on a page== | ||
+ | *The coding for inserting a document (e.g. .docx, .pdf, .xlsx, .pptx) is [[file:filename]]. It is best to describe the file to the reader outside of the link to the file. For example, “The document can be found at the following link – [[file:filename]]”. | ||
==Hover boxes== | ==Hover boxes== |
Guidance for Stormwater Manual wiki users Contact: Mike Trojan
Text
Text
Paragraph 1 text
Paragraph 2 test
Paragraph 1 text
Paragraph 2 text
OR
Paragraph 1 text Paragraph 2 text