Difference between revisions of "Template:Topic header"

From Appropedia
Jump to navigation Jump to search
 
Line 2: Line 2:
 
|image = {{{image|{{{1|}}}}}}
 
|image = {{{image|{{{1|}}}}}}
 
|head = This page is a topic header.
 
|head = This page is a topic header.
|body = {{#ifexist:Category:{{{category|{{{2|{{PAGENAME}}}}}}}}|See [[:Category:{{{2|{{PAGENAME}}}}}]] for subtopics, how-tos, project pages, designs, organization pages and more.}} {{#ifexist:Portal:{{{portal|{{PAGENAME}}}}}|Also see [[Portal:{{{portal|{{PAGENAME}}}}}]].}}
+
|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>{{Documentation}}</noinclude>

Latest revision as of 02:26, 11 September 2020

Template documentation[edit]

Usage[edit source]

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
|image = Default.png
|category = Category name if different from the page name
|portal = Portal name if different from the page name
}}

For example, on the Rainwater urban design and infrastructure page, we can use:

{{Topic header
|image = Erssons cistern.jpg
|category = Rainwater
|portal = Rainwater harvesting
}}

which displays as:

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

{{Topic header
|image = default.png
|category = Rainwater
|portal = Rainwater harvesting
}}

which displays as:

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.

See also[edit source]