|
|
(13 intermediate revisions by 7 users not shown) |
Line 1: |
Line 1: |
| ----
| | {{Ambox |
| {|javascript:void(0) | | |image = {{{image|{{{1|}}}}}} |
| |[[Image:{{{1}}} |80px]]
| | |head = This page is a topic header. |
| |align=center|This is a topic page for the [[:Category:{{{2}}}|'''{{{2}}} category''']].<br>Browse the [[:Category:{{{2}}}|category page]] for subtopics, howtos, project pages, designs, organization pages and more. | | |body = {{#ifexist:Category:{{{category|{{{2|{{PAGENAME}}}}}}}}|See [[:Category:{{{category|{{{2|{{PAGENAME}}}}}}}}]] for subtopics, how-tos, project pages, designs, organization pages and more.}} {{#ifexist:Portal:{{{portal|{{PAGENAME}}}}}|Also see [[Portal:{{{portal|{{PAGENAME}}}}}]].}} |
| |}
| | }}<noinclude>{{Documentation}}</noinclude> |
| ----
| |
| | |
| <noinclude>
| |
| | |
| == Usage ==
| |
| | |
| Just as {{tl|cat header}} is used on topic categories (and will we have {{tl|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).
| |
| | |
| | |
| <nowiki>{{topic header| default.png | categoryname }}
| |
| </nowiki>
| |
| | |
| # Change '''default.png''' to your preferred free image from Appropedia, if there is one.
| |
| # 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:
| |
| | |
| <nowiki>{{topic header|Erssons_cistern.jpg | Rainwater }}</nowiki>
| |
| | |
| which displays as:
| |
| | |
| {{topic header|Erssons_cistern.jpg | Rainwater }} | |
| | |
| If you don't have a suitable image on Appropedia yet, leave the first parameter as '''default.png''', e.g.:
| |
| <nowiki>{{topic header| default.png | Rainwater }}</nowiki>
| |
| | |
| which displays as:
| |
| | |
| {{topic header| default.png | Rainwater }}
| |
| | |
| If you have have an [[open license]]d 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 {{tl|cat header}} for the corresponding category page, in the form:
| |
| | |
| <nowiki>{{cat header| default.png | topic name | Intro text }}</nowiki>
| |
| | |
| == 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? --[[User:Chriswaterguy|Chriswaterguy]] 07:18, 11 November 2009 (UTC)
| |
| * Note: I was going to use <nowiki>[[:Category:{{{PAGENAME}}}|'''{{{PAGENAME}}} category''']]</nowiki> 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. --[[User:Chriswaterguy|Chriswaterguy]] 07:18, 11 November 2009 (UTC)
| |
| | |
| | |
| [[Category:Navigation templates]]
| |
| </noinclude> | |