Template:WikiHelpLinks: Difference between revisions

From Grooper Wiki
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{1}}} (''{{TypeName|{{{1}}}}}'')<!---
{{{1}}} (''[https://help.grooper.com/v2025/help?typeName={{urlencode:{{#vardefineecho:typeName|{{TypeName|{{{1}}}}}}}}} {{#var:typeName}}]'')<!---
DOCUMENTATION
DOCUMENTATION
{{urlencode}} is needed for clean links (converting + to %2B)


I to remove all linkage to avoid a "node-count limit exceeded" error. This was the previous code:  [[{{{1}}}]] (''{{HelpLink|{{{1}}}}}'')
VERSION DIFFERENCES
All versions of this template have some problems
- Original version causes full Grooper Object list to throw node-count limit errors.
- Variables version throws less node-count limit errors.
- Lua version throws none but causes pages to load exceptionally slowly.


To really get this to work, I'd probably need to break it up across several pages. But this somewhat defeats the point. The problem area is are the command objects. There are just so many of them. One solution may be to just document the commands on a separate page and link to that.
Original version:
{{{1}}} (''[https://help.grooper.com/v2025/help?typeName={{TypeName|{{{1}}}}} {{TypeName|{{{1}}}}}]'')


Lua version:
{{{1}}} (''[https://help.grooper.com/v2025/help?typeName={{#invoke:TypeNameLua|getTypeName|{{{1}}}}} {{#invoke:TypeNameLua|getTypeName|{{{1}}}}}]'')


POSSIBLE IMPROVEMENT IF I CAN MAKE LINKAGE WORK
Variables version:
This is probably better but warns "too many expensive parser functions" for the List of Grooper Object Types page
{{{1}}} (''[https://help.grooper.com/v2025/help?typeName={{#vardefineecho:typeName|{{TypeName|{{{1}}}}}}} {{#var:typeName}}]'')


{{#ifexist: {{{1}}} | [[{{{1}}}]] (''{{HelpLink|{{{1}}}}}'') | {{{1}}} (''{{HelpLink|{{{1}}}}}'') }}
The best solution seems to be (1) use the Variables version and (2) move the Commands and IP Commands from the List of Grooper Objects page to Derived Types sections in the Command and IP Command pages.
 
POSSIBLE IMPROVEMENT
This is probably better but warns "too many expensive parser functions" for the List of Grooper Objects page
 
{{#ifexist: {{{1}}} | [[{{{1}}}]] (''[https://help.grooper.com/v2025/help?typeName={{#vardefineecho:typeName|{{TypeName|{{{1}}}}}}} {{#var:typeName}}]'') | {{{1}}} (''[https://help.grooper.com/v2025/help?typeName={{#vardefineecho:typeName|{{TypeName|{{{1}}}}}}} {{#var:typeName}}]'') }}

Latest revision as of 11:48, 10 September 2025