Changes

Template:Menu-entry

950 bytes added, 08:33, 25 February 2014
m
no edit summary
<includeonly><div class="akvo-menu-entry">
<div class="akvo-menu-entry-icon">
[[File:{{{icon}}}|80x80px|link={{{link}}}]]
</div>
<div class="akvo-menu-entry-photo">
[[File:{{{photo}}}|120x115px|link={{{link}}}]]
</div>
<div class="akvo-menu-entry-caption">
<p class="akvo-menu-entry-caption-text">
[[{{{link}}}{{#if:{{{caption|}}}|{{!}}{{{caption}}}}}]]
</p>
</div>
</div></includeonly><noinclude>

A menu entry is a link with a presentation of a page using an icon, a photography and a caption text. The caption text will be linked to the target page so it may not contain any links.

== Usage ==

=== Examples ===

<pre><nowiki>
{{Menu-entry | icon=Icon_image.png | photo=Photo_image.jpg | link=Example}}
</nowiki></pre>

=== Parameters ===

; icon
: The name of the icon image.
; photo
: The name of the photography
; caption
: The caption text. If omitted, the link will be used as caption text.
; link
: The link to the wiki page

</noinclude>
Akvopedia-spade, bureaucrat, emailconfirmed, smwadministrator, smwcurator, administrator
801
edits