Minecraft:Commands/resourceuri: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{Exclusive|education}} | {{MC/Exclusive|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=resourceuri | |name=resourceuri | ||
| Line 17: | Line 17: | ||
== Arguments == | == Arguments == | ||
{{ | {{MC/Argument|be=1|name: string|basic_string}} | ||
: Specifies the resource link's button text. | : Specifies the resource link's button text. | ||
: {{ | : {{MC/Arg desc|be=basic_string}} | ||
{{ | {{MC/Argument|be=1|uri: text|CommandRawText}} | ||
: Specifies the resource link's URI, defaults to empty. | : Specifies the resource link's URI, defaults to empty. | ||
: {{ | : {{MC/Arg desc|be=CommandRawText}} | ||
== Result == | == Result == | ||
| Line 32: | Line 32: | ||
== Output == | == Output == | ||
{{Output table|onlybe=1}} | {{MC/Output table|onlybe=1}} | ||
{{Output table|edition=be|On fail|0}} | {{MC/Output table|edition=be|On fail|0}} | ||
{{Output table|On success|1}} | {{MC/Output table|On success|1}} | ||
{{Output table}} | {{MC/Output table}} | ||
== History == | == History == | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|education}} | |{{MC/HistoryLine|education}} | ||
|{{HistoryLine||1.14.70|dev=1.14.60|Added {{ | |{{HistoryLine||1.14.70|dev=1.14.60|Added {{MC/Cmd|resourceuri|link=none}}.}} | ||
}} | }} | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
zh:命令/resourceuri | zh:命令/resourceuri | ||
Latest revision as of 20:13, 9 April 2026
Script error: No such module "Exclusive". Template:Infobox command Sets or clears the resource link in the pause menu.
Syntax
resourceuriresourceuri clear- Clears the resource link.
resourceuri default [uri: text]- Sets the resource link's URI, the button text is by default.
resourceuri named <name: string> [uri: text]- Sets the resource link.
Arguments
name: string: basic_string
- Specifies the resource link's button text.
- {{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|string}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
uri: text: CommandRawText
- Specifies the resource link's URI, defaults to empty.
- {{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|rawtext}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
Result
Template:Result table Template:Result table Template:Result table Template:Result table
Output
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|be}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
History
zh:命令/resourceuri