Template:ID Portrait Resize/doc: Difference between revisions
Jump to navigation
Jump to search
(Moving documentation to subpage) |
(Modifying doc to match new default, reordering for clarity) |
||
Line 8: | Line 8: | ||
{{ID Portrait Resize|Noa T'Nessa Levinson|83}} | {{ID Portrait Resize|Noa T'Nessa Levinson|83}} | ||
<pre>{{ID Portrait Resize|Noa T'Nessa Levinson| | <pre>{{ID Portrait Resize|Noa T'Nessa Levinson|100}}</pre> | ||
{{ID Portrait Resize|Noa T'Nessa Levinson| | {{ID Portrait Resize|Noa T'Nessa Levinson|100}} | ||
You can even have non-standard sizes: | You can even have non-standard sizes: |
Revision as of 14:04, 19 September 2023
Creates portrait as specified in a character's ID subpage, much like the similarly named 'ID Portrait' template, except it allows for any width to be specified, defaulting to 100px when unspecified.
Usage
{{ID Portrait Resize|Noa T'Nessa Levinson}}
{{ID Portrait Resize|Noa T'Nessa Levinson|83}}
{{ID Portrait Resize|Noa T'Nessa Levinson|100}}
You can even have non-standard sizes:
{{ID Portrait Resize|Noa T'Nessa Levinson|156}}
Template Data
Displays the image from the specified character's ID subpage, with an optionally supplied size (defaults to 100 pixels with no size specified).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Character | 1 | The character name whose portrait to display. Must have an ID subpage created.
| Line | required |
Image size | 2 | The size to display the image at in pixels. Defaults to 100 when this is unspecified.
| Number | optional |