How-to's
From Wikireedia
(Difference between revisions)
Line 2: | Line 2: | ||
===2. Change the Logo on the Main Page=== | ===2. Change the Logo on the Main Page=== | ||
===3. Add a new page=== | ===3. Add a new page=== | ||
− | ===4. Creating | + | ===4. Creating collapsible rows=== |
This was a surprisingly difficult task. The first issue is that it requires the creation of many templates for it to work effectively as it does on Wikipedia. | This was a surprisingly difficult task. The first issue is that it requires the creation of many templates for it to work effectively as it does on Wikipedia. | ||
* The first step was to install the extenstions and templates recommended by ETCWiki http://www.etcwiki.org/wiki/Install_infobox | * The first step was to install the extenstions and templates recommended by ETCWiki http://www.etcwiki.org/wiki/Install_infobox | ||
* Copy the Mediawiki:Common.css in to my Wiki | * Copy the Mediawiki:Common.css in to my Wiki | ||
* I built the collapsable navigation boxes based upon the Navbox template (and associated templates)using the information here: http://en.wikipedia.org/wiki/Template:Navbox | * I built the collapsable navigation boxes based upon the Navbox template (and associated templates)using the information here: http://en.wikipedia.org/wiki/Template:Navbox | ||
− | * The navigation boxes were correctly formatted but were not | + | * The navigation boxes were correctly formatted but were not collapsible. I read that a java script query was needed and that was included Mediawiki:Common.js. I copied the source my wiki but upon refreshing the browser I was getting jQuery errors and the show/hide collapsable box was still not working. One webpage suggested added additional script to the Mediawiki:Common.js. but this did not work. Follow that discussion here: http://en.wikipedia.org/wiki/Help_talk:Collapsing |
* I then followed the steps on http://www.mediawiki.org/wiki/Manual:Collapsible_tables and completely replaced my Mediawiki:Common.js with the code suggested here. I did not make the second change to Mediawiki:Common.css that was suggested. | * I then followed the steps on http://www.mediawiki.org/wiki/Manual:Collapsible_tables and completely replaced my Mediawiki:Common.js with the code suggested here. I did not make the second change to Mediawiki:Common.css that was suggested. | ||
* I created and tested the navigation box successfully as below | * I created and tested the navigation box successfully as below | ||
Line 13: | Line 13: | ||
====5. Magic Words==== | ====5. Magic Words==== | ||
* Used magic words {{number of articles}} to parse the number of pages on the wiki on the Main Page | * Used magic words {{number of articles}} to parse the number of pages on the wiki on the Main Page | ||
− | * Used magic words __NOTOC__ to hide Table of Contents where not necessary | + | * Used magic words __NOTOC__ to hide Table of Contents where not necessary and __SHOWFACTBOX__ |
+ | ====6. References==== | ||
+ | You can add footnote type referenced attachments by adding the <ref> attachment </ref> and then </references>. See [[Spec Sheet]] for example |
Revision as of 10:20, 31 October 2011
1. Login
2. Change the Logo on the Main Page
3. Add a new page
4. Creating collapsible rows
This was a surprisingly difficult task. The first issue is that it requires the creation of many templates for it to work effectively as it does on Wikipedia.
- The first step was to install the extenstions and templates recommended by ETCWiki http://www.etcwiki.org/wiki/Install_infobox
- Copy the Mediawiki:Common.css in to my Wiki
- I built the collapsable navigation boxes based upon the Navbox template (and associated templates)using the information here: http://en.wikipedia.org/wiki/Template:Navbox
- The navigation boxes were correctly formatted but were not collapsible. I read that a java script query was needed and that was included Mediawiki:Common.js. I copied the source my wiki but upon refreshing the browser I was getting jQuery errors and the show/hide collapsable box was still not working. One webpage suggested added additional script to the Mediawiki:Common.js. but this did not work. Follow that discussion here: http://en.wikipedia.org/wiki/Help_talk:Collapsing
- I then followed the steps on http://www.mediawiki.org/wiki/Manual:Collapsible_tables and completely replaced my Mediawiki:Common.js with the code suggested here. I did not make the second change to Mediawiki:Common.css that was suggested.
- I created and tested the navigation box successfully as below
Template:Selected Achievements by Application
5. Magic Words
- Used magic words Template:Number of articles to parse the number of pages on the wiki on the Main Page
- Used magic words to hide Table of Contents where not necessary and
6. References
You can add footnote type referenced attachments by adding the [1] and then </references>. See Spec Sheet for example
Cite error:
<ref>
tags exist, but no <references/>
tag was found