Template:Software inline
Jump to navigation
Jump to search
This template is an improved and simplified version of template Template:Software.
Parameters
- {{{1}}}, {{{2}}} – Specially prepared code is written into these parameters for the convenient ability to select styles and display type in child templates (see example below).
- {{{color}}} – The color that is used for colored style of this template. Supports hex, rgb, hsl, etc.
- {{{icon}}} – An icon that will be displayed next to the game name. You only need to enter the name and format of the image, for example, SomeImage.png.
- {{{link}}} – The link that will be used.
- {{{name}}} – The name that will be displayed.
Example
Child Usage
These examples are written directly using this template, since the {{Portal2}}, {{Cs2d}}, {{Hammer}} and other templates do not currently use this template as their base.
Code | Result | Description |
---|---|---|
{{Portal2}} | This is ![]() |
Regular internal link. |
{{Idtech3}} | This is ![]() |
Link to Wikipedia article. |
{{Cs2d}} | This is ![]() |
External link. |
{{Portal2|name}} | This is Portal 2! | Link without icon. |
{{Portal2|icon}} | This is ![]() |
Clickable Icon. |
{{Portal2|colored}} | This is ![]() |
Link with colored text. |
{{Portal2|name|colored}} | This is Portal 2! | Link without icon and with colored text. |
{{Hammer|colored}} | This is ![]() |
Link with colored text. |
{{Portal2|link=}} | This is ![]() |
No Link. |
{{Portal2|name|link=}} | This is Portal 2! | No Link without icon. |