MediaWiki:Sitenotice:
2024-03-02: The wiki ran out of disk space, so things were not working. This has been resolved by adding another 5GB of quota ;-) Thanks to Tim Lindner for reporting the issues. 2020-05-17: If a page gives you an error about some revision not being found, just EDIT the page and the old page should appear in the editor. If it does, just SAVE that and the page should be restored. OS-9 Al (talk) 12:22, 17 May 2020 (CDT)

Read Me First: Difference between revisions

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{NavHelp}}
{{NavHelp}}
= Read Me First =
= Read Me First =
Here are a few quick things to know about using this wiki.
== Templates ==
This MediWiki software supports Templates. A template is a page with the name "Template:TemplateName". Anything on that template page will appear anywhere you include it on another page as "<nowiki>{{TemplateName}}</nowiki>". For example, if there was a page called "Template:UltimateAnswer", and that page contained the text "42", you could include that text on any page just by adding:
<nowiki>{{UltimateAnswer}}</nowiki>
=== Navigation Templates ===
A set of Wiki templates have been created to help with categories and navigation of this site. When creating a new page, or editing an existing one, please ensure that the top of the file begins with a Nav template, such as:
A set of Wiki templates have been created to help with categories and navigation of this site. When creating a new page, or editing an existing one, please ensure that the top of the file begins with a Nav template, such as:


Line 15: Line 23:
And each of those contains actual Wiki tags and/or categories, as needed.
And each of those contains actual Wiki tags and/or categories, as needed.


Home contains:
Home contains the link to the Main Page of this wiki, and a custom text for the link (so it says "Home" instead of "Main Page"):


<pre><nowiki>
<pre><nowiki>
[[Main_Page|Home]]
[[Main_Page|Home]]
</nowiki></pre>
</nowiki></pre>
This means it will display the text "Home" which will link to "Main Page" (the default page of this wiki).


Next is the Articles link:
Next is the Articles link:
Line 29: Line 35:
</nowiki></pre>
</nowiki></pre>


Above, it will first contain a Category tag for the Articles section, then a Delimeter (which is something like " - " for this Wiki), then a link to the top level page for Articles.
Above, it will first contain a Category tag for the Articles section, then a Delimeter (which is currently " - " for this Wiki), then a link to the top level page for Articles.


Lastly, is the PageName template:
Lastly, is the PageName template:
Line 40: Line 46:
This will just display a non-breaking space, dash, non-breaking space, then the current page name in bold.  (" - {{PAGENAME}}")
This will just display a non-breaking space, dash, non-breaking space, then the current page name in bold.  (" - {{PAGENAME}}")


So, when you start a page in an existing section, be sure to start with the appropriate NavXXX template reference at the top.
So, when you start a page in an existing section, be sure to start with the appropriate NavXXX template reference at the top. You can find it by editing a similar page in that section. If it is an entirely new section/category, you will have to create a new NavTemplate.


== Creating a new Navigation Template ==
=== Creating a new Navigation Template ===


If you are creating a whole new section of the site, start by making a Nav for it by including something at the top like this:
If you are creating a new section of the site, create the new page (like "Digitizers"), and add a reference to the soon-to-be-created NavTemplate at the top of the page, using the following format (like "NavDigitizers" or "NavPrinters"):


<pre><nowiki>
<pre><nowiki>
Line 50: Line 56:
</nowiki></pre>
</nowiki></pre>


When you save the page, that will be a new link.  When you view this page, click on the new link, and fill out your new NavSectionName template like...
When you save the page, that will be a new link to an empty template page.  When you view this page, click on the new link, and fill out your new NavSectionName template like...


<pre><nowiki>
<pre><nowiki>
Line 56: Line 62:
</nowiki></pre>
</nowiki></pre>


Then save, and you will get a link to the new SectionName, so click and edit that and make it look like the "Articles" example above (Category and link to the main SectionName page).
Section Name would something like "Digitizers" or "Printers". "<nowiki>{{PageName}}</nowiki>" is a special macro built in to the Wiki that will show the current page name. Save this, and you will get a link to the new empty SectionName and "PageName" will show up with the current page name. Click and edit the new SectionName and make it look like this "Articles" example above (Category and link to the main SectionName page).
 
<pre><nowiki>
[[Category: SectionName]]{{Delim}}[[PageName]]
</nowiki></pre>
 
"<nowiki>[[PageName]]</nowiki>" is the link to the main page of that section, which is usually just the section name, and matches the category. i.e., if you create a category called "Digitizers", the main page should probably be "Digitizers".


Once we get all this cleaned up, we will have an easier to navigate template. Plus, I can edit the Home link at any time to out a message or alert on every page of the site.
Once we get all this cleaned up, we will have an easier to navigate template. Plus, I can edit the Home link at any time to out a message or alert on every page of the site.
Line 62: Line 74:
There should be no pages without this navigation.
There should be no pages without this navigation.


== See Also ==
=== See Also ===
I am not sure if this is still relevant, but I also have this page: [[Using Navigation Templates]]
I am not sure if this is still relevant, but I also have this page: [[Using Navigation Templates]]
== Template Variables===
Templates can also contain parameters, passed in as variables. There is a "Template:InfoBox" that does this. Inside the template, it can reference named variables by their name with three curly braces around them, like "<nowiki>{{{variablename}}}</nowiki>". When the template is called, variables are specified with "name=value" like this:
<nowiki>
{{GameInfoBox |
| picture = Blochead.gif
| author = ???
| publisher = [[Computerware]]
| year= 1983
| media = Disk/Tape
| requires = Color Computer 1,2,3, 16K RAM
| graphic = 256x192x2
| notes =
}}
</nowiki>
Then whatever code for "GameInfoBox" will appear, with the values for each variable substituted where it goes. "Blochead.gif" would appear wherever <nowiki>{{{picture}}}</nowiki> was in the template.

Revision as of 11:59, 2 April 2013

WELCOME
Looking for CoCo help? If you are trying to do something with your old Color Computer, read this quick reference. Want to contribute to this wiki? Be sure to read this first. This CoCo wiki project was started on October 29, 2004. --OS-9 Al

See Recent Changes. | About this site. | Join the E-Mail List or Facebook Group. | Contact me with updates/questions.

This page was last updated on 04/2/2013. Total Pages: 744. Total Files: 994.


Home / Help - Read Me First


Read Me First

Here are a few quick things to know about using this wiki.

Templates

This MediWiki software supports Templates. A template is a page with the name "Template:TemplateName". Anything on that template page will appear anywhere you include it on another page as "{{TemplateName}}". For example, if there was a page called "Template:UltimateAnswer", and that page contained the text "42", you could include that text on any page just by adding:

{{UltimateAnswer}}

Navigation Templates

A set of Wiki templates have been created to help with categories and navigation of this site. When creating a new page, or editing an existing one, please ensure that the top of the file begins with a Nav template, such as:

{{NavArticles}}

Each Nav template contains references to other templates. In the case of the NavArticles template, it contains the following:

{{Home}}{{Articles}}{{PageName}}

And each of those contains actual Wiki tags and/or categories, as needed.

Home contains the link to the Main Page of this wiki, and a custom text for the link (so it says "Home" instead of "Main Page"):

[[Main_Page|Home]]

Next is the Articles link:

[[Category: Articles]]{{Delim}}[[Articles]]

Above, it will first contain a Category tag for the Articles section, then a Delimeter (which is currently " - " for this Wiki), then a link to the top level page for Articles.

Lastly, is the PageName template:

 - '''{{PAGENAME}}'''
----

This will just display a non-breaking space, dash, non-breaking space, then the current page name in bold. (" - Read Me First")

So, when you start a page in an existing section, be sure to start with the appropriate NavXXX template reference at the top. You can find it by editing a similar page in that section. If it is an entirely new section/category, you will have to create a new NavTemplate.

Creating a new Navigation Template

If you are creating a new section of the site, create the new page (like "Digitizers"), and add a reference to the soon-to-be-created NavTemplate at the top of the page, using the following format (like "NavDigitizers" or "NavPrinters"):

{{NavSectionName}}

When you save the page, that will be a new link to an empty template page. When you view this page, click on the new link, and fill out your new NavSectionName template like...

{{Home}}{{SectionName}}{{PageName}}

Section Name would something like "Digitizers" or "Printers". "{{PageName}}" is a special macro built in to the Wiki that will show the current page name. Save this, and you will get a link to the new empty SectionName and "PageName" will show up with the current page name. Click and edit the new SectionName and make it look like this "Articles" example above (Category and link to the main SectionName page).

[[Category: SectionName]]{{Delim}}[[PageName]]

"[[PageName]]" is the link to the main page of that section, which is usually just the section name, and matches the category. i.e., if you create a category called "Digitizers", the main page should probably be "Digitizers".

Once we get all this cleaned up, we will have an easier to navigate template. Plus, I can edit the Home link at any time to out a message or alert on every page of the site.

There should be no pages without this navigation.

See Also

I am not sure if this is still relevant, but I also have this page: Using Navigation Templates

Template Variables=

Templates can also contain parameters, passed in as variables. There is a "Template:InfoBox" that does this. Inside the template, it can reference named variables by their name with three curly braces around them, like "{{{variablename}}}". When the template is called, variables are specified with "name=value" like this:

{{GameInfoBox | | picture = Blochead.gif | author = ??? | publisher = [[Computerware]] | year= 1983 | media = Disk/Tape | requires = Color Computer 1,2,3, 16K RAM | graphic = 256x192x2 | notes = }}

Then whatever code for "GameInfoBox" will appear, with the values for each variable substituted where it goes. "Blochead.gif" would appear wherever {{{picture}}} was in the template.