Template:PCB Picture: Difference between revisions

From OpenGK
No edit summary
No edit summary
Line 1: Line 1:
= {{#switch: {{{side}}} | front = Front side | back = Back side | label = Label | {{{title| PCB picture}}} }} =
= {{#switch: {{{side}}} | front = Front side | back = Back side | label = Label | {{{title| PCB picture}}} }} =
[[index.php?title=File:{{{filename}}}|link=File:{{{filename}}}|border|none|thumb|1175x1175px]]


<noinclude>
<noinclude>
Line 19: Line 21:
"example": "PCB layout of the 95410-2C160",
"example": "PCB layout of the 95410-2C160",
"type": "string"
"type": "string"
},
"filename": {
"description": "Filename of the image to display. If you also have a separate image with labeled components, use `filename_labeled` **additionally**. `filename` will then allow to go to the unaltered picture",
"example": "SIMK43_5WY1919B_front_side.jpg",
"type": "wiki-file-name",
"required": true
}
}
}
}

Revision as of 21:08, 11 June 2025

PCB picture

[[index.php?title=File:{{{filename}}}|link=File:{{{filename}}}|border|none|thumb|1175x1175px]]


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
sideside

Side of PCB in the picture. If not provided, `title` has to be filled in

Suggested values
front back label
Stringsuggested
titletitle

If set, this property will overwrite the header

Example
PCB layout of the 95410-2C160
Stringoptional
filenamefilename

Filename of the image to display. If you also have a separate image with labeled components, use `filename_labeled` **additionally**. `filename` will then allow to go to the unaltered picture

Example
SIMK43_5WY1919B_front_side.jpg
Filerequired