Difference between revisions of "Template talk:Clickable project box"

From Microduino Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Copy and paste template:
 
Copy and paste template:
 
<source>
 
<source>
{{Clickable_headed_image_table_box
+
{{Clickable project box
 
|project_name=
 
|project_name=
 
|project_name_alt=
 
|project_name_alt=
Line 12: Line 12:
 
</source>
 
</source>
  
Parameter definitions
+
Parameter definitions:
 
<source>
 
<source>
 
project_name= Name of the project, used in the header
 
project_name= Name of the project, used in the header
project_name_alt= Name of the project used in the hyperlink within the box
+
project_name_alt= Name of the project used in the hyperlink within the box, optional, if not defined defaults to project_name
 
link= Link to wiki page that is clickable
 
link= Link to wiki page that is clickable
 
image= Image to display
 
image= Image to display
image_size= Height of the image to scale to
+
image_size= Height of the image to scale to, defaults to 250px
table_height= Set table height
+
table_height= Set table height, defaults to 250px
table_width= Set table width
+
table_width= Set table width, defaults to 250px
}}
 
 
</source>
 
</source>
  
 
Example:
 
Example:
 
<source>
 
<source>
{{Clickable_headed_image_table_box
+
{{Clickable project box
|project_name= Project Name
+
|project_name=Project Name
 
|project_name_alt= Project Name Alt
 
|project_name_alt= Project Name Alt
 
|link= Project Link
 
|link= Project Link
Line 36: Line 35:
 
}}
 
}}
 
</source>
 
</source>
{{Clickable_headed_image_table_box
+
{{Clickable project box
 
|project_name= Project Name
 
|project_name= Project Name
|project_name_alt=  
+
|project_name_alt= Project Name Alt
 
|link= Project Link
 
|link= Project Link
 
|image= file:Microduino-logo3.png
 
|image= file:Microduino-logo3.png

Latest revision as of 23:46, 19 September 2016

Copy and paste template:

{{Clickable project box
|project_name=
|project_name_alt=
|link=
|image=
|image_size=
|table_height=
|table_width=
}}

Parameter definitions:

project_name= Name of the project, used in the header
project_name_alt= Name of the project used in the hyperlink within the box, optional, if not defined defaults to project_name
link= Link to wiki page that is clickable
image= Image to display
image_size= Height of the image to scale to, defaults to 250px
table_height= Set table height, defaults to 250px
table_width= Set table width, defaults to 250px

Example:

{{Clickable project box
|project_name=Project Name
|project_name_alt= Project Name Alt
|link= Project Link
|image= file:Microduino-logo3.png
|image_size= 150px
|table_height= 250px
|table_width=
}}
Project Name
Microduino-logo3.png
Project Name Alt
Project