(simplify header - secondary text made small (for less distractions, and for SEO))
(tweak wording)
Line 2: Line 2:
{|javascript:void(0)
{|javascript:void(0)
|[[Image:{{{1}}} |80px]]   
|[[Image:{{{1}}} |80px]]   
|align=center|See also the [[:Category:{{{2}}}|'''{{{2}}}&nbsp;category''']].<br><small>Category pages contain subtopics, howtos, project pages, designs, organization pages and more.</small>
|align=center|See also the [[:Category:{{{2}}}|'''{{{2}}}&nbsp;category''']].<br><small>The category page can contain subtopics, howtos, project pages, designs, organization pages and more.</small>
|}
|}
----
----

Revision as of 15:50, 26 June 2011


[[Image:{{{1}}} |80px]]    See also the [[:Category:{{{2}}}|{{{2}}} category]].
The category page can contain subtopics, howtos, project pages, designs, organization pages and more.


Usage

Just as {{cat header}} is used on topic categories (and will we have {{portal header}} on portals?) this navigation template is used on key topic pages.

Image: If you can find a suitable image on Appropedia to display, use it - otherwise leave the image parameter empty (it'll be a bit untidy, but it can be fixed later).


{{topic header| default.png | categoryname }}

  1. Change default.png to your preferred free image from Appropedia, if there is one.
  2. Change category name to the category you want to link to. Usually this will be the same as the page you're linking from.

E.g. on the Rainwater urban design and infrastructure page, we can use:

{{topic header|Erssons_cistern.jpg | Rainwater }}

which displays as:


Erssons cistern.jpg    See also the Rainwater  category.
The category page can contain subtopics, howtos, project pages, designs, organization pages and more.


If you don't have a suitable image on Appropedia yet, leave the first parameter as default.png, e.g.:

{{topic header| default.png | Rainwater }}

which displays as:


Default.png    See also the Rainwater  category.
The category page can contain subtopics, howtos, project pages, designs, organization pages and more.


If you have have an open licensed image you'd like to share and use here, upload at Special:Upload and in the license specify the image, the license, and the source (i.e. if you took it yourself, or which website it came from.

Header for category page

Add the {{cat header}} for the corresponding category page, in the form:

{{cat header| default.png | topic name | Intro text }}

Comments

  • This is a first draft - please feel free to play with it and improve it! Why is there are gap before the second horizontal line, under the text? --Chriswaterguy 07:18, 11 November 2009 (UTC)
  • Note: I was going to use [[:Category:{{{PAGENAME}}}|'''{{{PAGENAME}}} category''']] but I thought there might be times when the category name mightn't be the same as the key page. Also, that would lead to link breakage if a page containing this template gets moved. --Chriswaterguy 07:18, 11 November 2009 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.