CZ:Article-specific subpages: Difference between revisions
imported>J. Noel Chiappa (OK, here's some draft documentation) |
imported>J. Noel Chiappa m (Typo) |
||
Line 19: | Line 19: | ||
First, pick a one-word name for the new subpage type. Add it to the list above (in alphabetic order, please), with a '''brief''' description of what it is for. | First, pick a one-word name for the new subpage type. Add it to the list above (in alphabetic order, please), with a '''brief''' description of what it is for. | ||
Next, each new article-specific subpage type must have the correct associated ''header'' and ''footer'' [[MediaWiki template|templates]] for it to functional correctly. They have names like {{Isotopes header}} and {{Isotopes footer}} (for the article-specific ''Isotopes'' subpage). To do this, use the following links: | Next, each new article-specific subpage type must have the correct associated ''header'' and ''footer'' [[MediaWiki template|templates]] for it to functional correctly. They have names like {{tl|Isotopes header}} and {{tl|Isotopes footer}} (for the article-specific ''Isotopes'' subpage). To do this, use the following links: | ||
* [[Template:NEWNAME header]] | * [[Template:NEWNAME header]] |
Revision as of 14:39, 22 April 2008
Article-specific subpages are subpages that are not in the system-wide list of standard optional subpages (see Template:Subpage list). Up to three different additional subpages per article may be defined.
Mechanics
There is a system-wide list of available article-specific subpage name/types below. Pick a suitable one, or if no suitable one exists, add a new one, using the instructions there.
To add the article-specific subpage to the article, edit the Metadata page for that article; edit the fields "tab1 = " and "tab1url = (or tab2, or tab3) to contain that name. Save the Metadata, and go back to the article page. Up to three different article-specific subpages can be designated at the moment.
List
Currently defined
- Isotope
Defining a new article-specific subpage
First, pick a one-word name for the new subpage type. Add it to the list above (in alphabetic order, please), with a brief description of what it is for.
Next, each new article-specific subpage type must have the correct associated header and footer templates for it to functional correctly. They have names like {{Isotopes header}} and {{Isotopes footer}} (for the article-specific Isotopes subpage). To do this, use the following links:
Click on the links (in a new window, so you can continue to read the instructions here), edit the URL in the URL bar of your browser to replace the "NEWNAME" with your new article-specific subpage name, open that "edit" page, set up your new subpage's header and footer (they may be blank) and save them.