Template:ArticleMessageBoxNavimg/doc

From MeritBadgeDotOrg

Revision as of 01:44, October 25, 2008 by Milominderbinder2 (Talk | contribs)
Jump to: navigation, search

Use

This is a special message box that allows you to assign an internal link to an image. Click the image and you go to that article not the image pages.

Format

{{ArticleMessageBoxNavimg
 |boxwidth =     <!-- Default is: 80% -->
 |left-indent =  <!-- Default is: |10% -->
 |background =   <!-- Default is: #DDEEEE -->
 |barcolor =     <!-- Default is: #1e90ff -->
 |imagewidth =   <!-- Default is: 52px -->
 |imageheight =  <!-- Default is: 52px -->
 |image =        <!-- Default is: FleurDeLis.png -->
 |imagelink =    <!-- Default is: Main Page -->
 |text =         <!-- Default is: Sample text -->
 }}

Examples

If you use no variablessuch as this:

{{ArticleMessageBoxNavimg|text=Your text goes here.}}

which is the same as:

{{ArticleMessageBoxNavimg
 |boxwidth =    
 |left-indent = 
 |background =  
 |barcolor =    
 |imagewidth =  
 |imageheight = 
 |image =       
 |imagelink =   
 |text = Your text goes here.       
 }}

Displays as:

Your text goes here.

Notice that when you move your mouse over the graphic, the link is to the Main Page not to the graphic as Wiki normally does.

{{ArticleMessageBoxNavimg
 |image = iphone.png     
 |imagelink = M.Main_Page 
 |text = <div align="center">'''''<span class="plainlinks">◄— Check out the new''''' '''<span class="plainlinks">[{{fullurl:m.Main Page|useskin=myskin}} Mobile/PDA interface]</span>''' '''''link in the navigation sidebar!</span>'''<br>You can always have the requirements with you wherever you go!<br><small>Help us by testing it on your phone and [[Special:Emailuser/Milominderbinder2|please report any issues]].</small></div>
 }}
◄— Check out the new Mobile/PDA interface link in the navigation sidebar!
You can always have the requirements with you wherever you go!
Help us by testing it on your phone and please report any issues.
Personal tools
language