Difference between revisions of "Help:Contents"

From Pathfinder Wiki
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
What is a ''transcluded page''?  If you've ever clicked the edit button on a page and instead of seeing the content of the page, saw something like this:
 
What is a ''transcluded page''?  If you've ever clicked the edit button on a page and instead of seeing the content of the page, saw something like this:
  
<nowiki>
+
<pre>
 
[[:Adventist Youth Honors Answer Book/Knot/Fisherman's bend]]
 
[[:Adventist Youth Honors Answer Book/Knot/Fisherman's bend]]
</nowiki>
+
</pre>
  
 
you have seen a transcluded page.  A transcluded page is content that is defined in one place, but used someplace else (perhaps in multiple paces).  For instance, the page described above is used in three different places, but it all comes from the same source.  That way, when we need to correct a spelling error on the page, we don't have to find all the places in the wiki that describe a fisherman's bend.  Instead, we can edit it in the one place where it is defined, and the pages that use it are automatically updated.
 
you have seen a transcluded page.  A transcluded page is content that is defined in one place, but used someplace else (perhaps in multiple paces).  For instance, the page described above is used in three different places, but it all comes from the same source.  That way, when we need to correct a spelling error on the page, we don't have to find all the places in the wiki that describe a fisherman's bend.  Instead, we can edit it in the one place where it is defined, and the pages that use it are automatically updated.
Line 46: Line 46:
 
The arguments don't have to be on one line, but we put them each on their own line to make the wiki markup easier to read.
 
The arguments don't have to be on one line, but we put them each on their own line to make the wiki markup easier to read.
  
You can read more about templates [[http://www.mediawiki.org/wiki/Templates here]].
+
You can read more about templates [http://www.mediawiki.org/wiki/Templates here].

Latest revision as of 23:28, 27 January 2013

Here are some helpful resources for Wiki editing.

  • You can find a lot of information about editing a Wiki at Using Wikibooks.
  • The official MediaWiki user manual is here.

We can also help you with specific problems here at the Pathfinder Wiki. Since we cannot anticipate every question you might have, please ask us. It will help you as well as others who come along after you. We should get back to you usually on the same day (but sometimes it might take longer).

Transcluded pages

What is a transcluded page? If you've ever clicked the edit button on a page and instead of seeing the content of the page, saw something like this:

[[:Adventist Youth Honors Answer Book/Knot/Fisherman's bend]]

you have seen a transcluded page. A transcluded page is content that is defined in one place, but used someplace else (perhaps in multiple paces). For instance, the page described above is used in three different places, but it all comes from the same source. That way, when we need to correct a spelling error on the page, we don't have to find all the places in the wiki that describe a fisherman's bend. Instead, we can edit it in the one place where it is defined, and the pages that use it are automatically updated.

But how do you edit it? There are two ways to get there. First, you could copy and paste the page's address into the search bar in the upper right corner. When doing this, omit the brackets and the colon. The brackets tell the wiki software that you are talking about a page somewhere on the wiki, and the colon tells the software to include the contents of that page on the page that references it.

The second way to get there is to click on the edit link at the very top of the page (between the "Read" and "View history" tabs, and then scroll down to the bottom. There you will find a list of all the transluded modules referenced in the page. Click the link, and it will take you to the source.

Templates

This Wiki makes heavy use of templates. A template will allow you to easily add formatted information to a page. The headers at the top of each honor are all done with a template. We can change the look of the honor header by editing the template, and the use of a template here ensures a uniform look on all the honor pages. Here is an example:

{{honor_header|2|1929|Outdoor Industries|General Conference|Agriculture_Honor.png}}

First comes the curly braces {{ which tells the software that we are using a template. Then comes the template name, in this case, honor_header. After that come the template arguments, which are separated by the vertical lines |. For the honor header, we have the following arguments:

  1. Skill level (2)
  2. Year the honor was introduced (1929)
  3. Honor category (Outdoor Industries)
  4. Defining authority (General Conference)
  5. Insignia image (Agriculture_honor.png)

Other templates used named arguments, such as the Bible text template:

{{Bible text
|book = John
|chapter = 3
|verse = 16
|version = NKJV
|text = ...
}}

The arguments don't have to be on one line, but we put them each on their own line to make the wiki markup easier to read.

You can read more about templates here.