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

From Microduino Wiki
Jump to: navigation, search
Line 1: Line 1:
 
Copy and paste template:
 
Copy and paste template:
 
<source>
 
<source>
{{Clickable_headed_image_table_box
+
{{Clickable project hyperlink
 
|project_name=
 
|project_name=
 
|project_name_alt=
 
|project_name_alt=
Line 15: Line 15:
 
<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
Line 21: Line 21:
 
table_height= Set table height
 
table_height= Set table height
 
table_width= Set table width
 
table_width= Set table width
}}
 
 
</source>
 
</source>
  
 
Example:
 
Example:
 
<source>
 
<source>
{{Clickable_headed_image_table_box
+
{{Clickable project hyperlink
|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 hyperlink
|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

Revision as of 23:35, 19 September 2016

Copy and paste template:

{{Clickable project hyperlink
|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
table_height= Set table height
table_width= Set table width

Example:

{{Clickable project hyperlink
|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