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 15: Line 15:
</nowiki></pre>
</nowiki></pre>


Each Nav template contains references to other templates as well as a category for pages that use that template. In the case of the NavArticles template, it contains the following:
Each Nav template is made up of other templates as well as a category for pages that use that template. In the case of the NavArticles template, it contains the following:


<pre><nowiki>
<pre><nowiki>
Line 24: Line 24:
'''2016/8/24 Update:''' The "includeonly" tag just makes the template not show up in that category. I will work on a way to simplify this in the future.
'''2016/8/24 Update:''' The "includeonly" tag just makes the template not show up in that category. I will work on a way to simplify this in the future.


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"):
The Home template contains the link to the Main Page of this wiki (with some text before it to be shown on every page of the site), and a custom text for the link (so it says "Home" instead of "Main Page"):


<pre><nowiki>
<pre><nowiki>
Line 47: Line 47:
This will just display a non-breaking space, dash, non-breaking space, then the current page name in bold.  (" - {{PAGENAME}}"). The four dashes on the next line will create a horizontal line to separate the content of the page from the navigation links at the top.
This will just display a non-breaking space, dash, non-breaking space, then the current page name in bold.  (" - {{PAGENAME}}"). The four dashes on the next line will create a horizontal line to separate the content of the page from the navigation links 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.
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 NavXXX template.


=== Creating a new Navigation Template ===
=== 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"):
If you are creating a new section of the site, create the new page (such as "Digitizers"), and add a reference to the soon-to-be-created NavTemplate at the top of the page, using the following format (such as "NavDigitizers" or "NavPrinters"):


<pre><nowiki>
<pre><nowiki>
Line 64: Line 64:
</nowiki></pre>
</nowiki></pre>


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).
Section Name would something like "Digitizers" or "Printers" and should match the main page name for that section. "<nowiki>{{PageName}}</nowiki>" is a template that uses 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:


<pre><nowiki>
<pre><nowiki>
Line 79: Line 79:
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==
== InfoBox Templates ==
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:
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:


Line 96: Line 96:


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.
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.
'''NOTE:''' All the InfoBox templates are going to be cleaned up and made consistent with automatic categories and such.

Revision as of 15:02, 30 August 2016

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 08/30/2016. Total Pages: 728. Total Files: 992.


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 is made up of other templates as well as a category for pages that use that template. In the case of the NavArticles template, it contains the following:

{{Home}}{{Articles}}{{PageName}}
<includeonly>[[Category: Articles]]</includeonly>

2016/8/24 Update: The "includeonly" tag just makes the template not show up in that category. I will work on a way to simplify this in the future.

The Home template contains the link to the Main Page of this wiki (with some text before it to be shown on every page of the site), and a custom text for the link (so it says "Home" instead of "Main Page"):

[[Main_Page|Home]]

Next is the Articles link:

{{Delim}}[[Articles]]

Above, it will first contain 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"). The four dashes on the next line will create a horizontal line to separate the content of the page from the navigation links 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 NavXXX template.

Creating a new Navigation Template

If you are creating a new section of the site, create the new page (such as "Digitizers"), and add a reference to the soon-to-be-created NavTemplate at the top of the page, using the following format (such as "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}}
<includeonly>[[Category: SectionCategory]]</includeonly>

Section Name would something like "Digitizers" or "Printers" and should match the main page name for that section. "{{PageName}}" is a template that uses 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:

{{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

InfoBox Templates

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.

NOTE: All the InfoBox templates are going to be cleaned up and made consistent with automatic categories and such.