Template:Resource: Difference between revisions

From Computers Wiki
Jump to navigationJump to search
Content deleted Content added
Create template
 
Fix display of small resource names
 
(One intermediate revision by the same user not shown)
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[Edit template data]

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