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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Resource type1

The four-character resource type

Example
STR#
Stringrequired
Resource ID2

Numeric ID of this resource

Example
-20905
Numberoptional
Resource name3

Name for this resource ID

Example
Status Strings
Stringoptional