Difference between revisions of "Template:Highlight"

From TransitWiki
Jump to navigation Jump to search
(Created page with "{| align="right" style="width:300px; border:4px solid #48707A; background-color:#AACCCC; margin-left:15px" |- !{{{headline}}} |- |align="center" | {| style="width:250px;" | a...")
 
(Blanked the page)
 
Line 1: Line 1:
{| align="right" style="width:300px; border:4px solid #48707A; background-color:#AACCCC; margin-left:15px"
 
|-
 
!{{{headline}}}
 
|-
 
|align="center" |
 
{| style="width:250px;"
 
| align="center" |
 
{{#tag:imagemap|Image:{{{image}}}{{!}}250px{{!}}center{{!}}
 
default [[{{{page}}}]]
 
desc bottom-right
 
}}
 
|-
 
|<small>[[{{{page}}}]] - {{{summary}}}</small>
 
|}
 
|- style="height:13px"
 
|
 
|}
 
<noinclude>
 
  
{{break clear}}
 
 
== Usage ==
 
 
Example 1 (written in one lone line):
 
<nowiki>{{highlight|headline=Highlighted [[Green living|Green Living]] design|page=Surrey Hills house|image=Surrey Hills window.jpg| summary = A low energy, [[passive solar]] house with a focus on [[water conservation]]}}</nowiki>
 
 
displays as:
 
{{highlight|headline=Highlighted [[Green living|Green Living]] design|page=Surrey Hills house|image=Surrey Hills window.jpg| summary = A low energy, [[passive solar]] house with a focus on [[water conservation]]}}
 
 
{{break clear}}
 
Example 2 (separate lines - the only difference is the formatting):
 
 
<nowiki>{{highlight
 
| headline = Highlighted business/economics page
 
| page=Gifts that keep on giving
 
| image=Parras bicycle riding.jpg
 
| summary = gifts that continue to provide economic benefit or contribute to a sustainable world long after they are given. }}</nowiki>
 
 
displays as:
 
{{highlight
 
| headline = Highlighted business/economics page
 
| page=Gifts that keep on giving
 
| image=Parras bicycle riding.jpg
 
| summary = gifts that continue to provide economic benefit or contribute to a sustainable world long after they are given. }}
 
[[Category:Navigation templates]]
 
[[Category:Notice templates]]
 
</noinclude>
 

Latest revision as of 21:41, 31 October 2017