Template:GM/prop/doc: Difference between revisions
< Template:GM | prop
Jump to navigation
Jump to search
(Created page with "<includeonly>{{PAGENAME}}</includeonly ><noinclude>{{PAGENAME}}</noinclude> ===Info=== :Game-Menu suppl...") |
(move remarks to Doc-page) |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly | <includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly | ||
><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ||
===Info=== | ===Info=== | ||
:Game-Menu supplement template. | :Game-Menu supplement template. | ||
Line 12: | Line 13: | ||
===Used By template=== | ===Used By template=== | ||
:[[Template:Menu_usage_box|Menu_usage_box]] | :[[Template:Menu_usage_box|Menu_usage_box]] | ||
---- | |||
=== <span class="mw-customtoggle-0" style="font-size:small; display:inline-block; float:right;"><span class="mw-customtoggletext">[Show/hide]</span></span> Def Remarks === | |||
<div id="mw-customcollapsible-0" class="mw-collapsible mw-collapsed"><pre> | |||
Code/system notes: | |||
OLD: The parameter-number offset, between the #set and its leading #if part, is intentionally. | |||
Effectively preventing setting the property on the last given GM-parameter (is object name ... makes no real sense for this property). | |||
NEW: Menu-system seems to have changed (or potential is usage) in such a way that not including the last item makes no sense any more. | |||
Not having the last item is also troublesome when checking the GM used data for potential outdated and/or misfit entries. | |||
ISSUE: rethink if there is an other way to also store the last item(final-menu-items), including it with the others(sub-menu-items) bloats the "Unique data list" in such a way that it effectively becomes unusable. (storing last item is going to be reset in a day or two) | |||
LATER1a: (on hold) Check if target property-name can be safely given as named-parameter here (probably. make sure). | |||
LATER1b: (on hold) see about ditching separate legacy case of this template. | |||
</pre></div> |
Revision as of 07:37, 17 February 2019
Info
- Game-Menu supplement template.
- Property assignment on used menu's.
- Currently supporting up to 6 parameters. (anonymous type)
- (Only intended to be used from "Menu usage box" template.)
Usage
{{Menu_usage-set_prop|Parm1|Parm2|..|Parm6}}
Used By template
[Show/hide] Def Remarks
Code/system notes: OLD: The parameter-number offset, between the #set and its leading #if part, is intentionally. Effectively preventing setting the property on the last given GM-parameter (is object name ... makes no real sense for this property). NEW: Menu-system seems to have changed (or potential is usage) in such a way that not including the last item makes no sense any more. Not having the last item is also troublesome when checking the GM used data for potential outdated and/or misfit entries. ISSUE: rethink if there is an other way to also store the last item(final-menu-items), including it with the others(sub-menu-items) bloats the "Unique data list" in such a way that it effectively becomes unusable. (storing last item is going to be reset in a day or two) LATER1a: (on hold) Check if target property-name can be safely given as named-parameter here (probably. make sure). LATER1b: (on hold) see about ditching separate legacy case of this template.