User:Cesdeva/sandbox

 

Documentation
 This template is in Alpha-testing The Portal Button template is designed to provide a rounded-edged wrapper for intra-wiki linked images; giving the appearance of a 'button' to users. Utilisation of purpose-made graphics can add further semantic meaning. The wrapper incorporates the CSS overflow:hidden attribute, which in combination with the width attribute will crudely 'crop' images. Normal image sizing syntax is optional but will be overidden horizontally by the value in the |width parameter.

Parameters
|Width= (Div width, default is 25%) |Float= (left or right, default none) |Background-c= (color, default #efefef) |Border-w= (Border width, default 2px) |Border-t= (Border type, default solid) |Border-c= (Border color, default #efefef) |Border-r= (Border radius, default 20px) |Margin= (Margin around div, default 5px) |Image= (File name, default PBTN.jpg) |Image-t= (Type, default frameless) |Link= (Target, default Portal:Contents/) |Image-s= (Image size; pair with |Width) |Text= (Add text below image, centered)

 To transclude the template, copy and paste the following text:

 Be sure to remove any parameters you don't fill, otherwise rendering will be affected.

Rendered examples
   Geography  Religion This template was created by ~