Template:Resource: Difference between revisions
From Computers Wiki
Jump to navigationJump to search
(Move spaces outside if-blocks) |
(Fix display of small resource names) |
||
| Line 1: | Line 1: | ||
<code>{{{1}}}</code> {{#if:{{{2|}}}|ID = {{{2}}}}} {{#if:{{{3|}}}|({{{3}}})}}<noinclude> |
<code>{{padright:{{{1}}}|4| }}</code> {{#if:{{{2|}}}|ID = {{{2}}}}} {{#if:{{{3|}}}|({{{3}}})}}<noinclude> |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Latest revision as of 03:58, 26 September 2025
{{{1}}}
Display classic Mac OS resource IDs in a consistent way.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Resource type | 1 | The four-character resource type
| String | required |
| Resource ID | 2 | Numeric ID of this resource
| Number | optional |
| Resource name | 3 | Name for this resource ID
| String | optional |