Page 1 of 1

Suggestion for [catagolue] tag

Posted: April 15th, 2020, 9:14 pm
by Ian07
Could we please have a forum tag that links to Catagolue object pages, similar to how we have the "wiki" tag? i.e. this:

Code: Select all

[catagolue]xp15_4r4z4r4[/catagolue]
would become this: xp15_4r4z4r4

Re: Suggestion for [catagolue] tag

Posted: April 15th, 2020, 9:34 pm
by Nathaniel
Done! Test: xp15_4r4z4r4

There's a button on the posting page for this now too (just like for the viewer and wiki tags).

Re: Suggestion for [catagolue] tag

Posted: April 15th, 2020, 9:52 pm
by Saka
Nice!
Funny - I remember suggesting this or something similar some time ago (link) but got no response.
Also, yet another suggestion, what about

Code: Select all

[catagolue=b34s34]xp0_example[/catagolue]
would lead to the page for the apgcode in the specified rule?

Re: Suggestion for [catagolue] tag

Posted: April 15th, 2020, 10:03 pm
by GUYTU6J
Now the button is here!
Can we apply the tag to named objects, e.g. [catagolue]pentadecathlon[/catagolue] and [catagolue]roseluck[/catagolue]?

Re: Suggestion for [catagolue] tag

Posted: April 15th, 2020, 10:06 pm
by Nathaniel
Saka wrote: April 15th, 2020, 9:52 pm Nice!
Funny - I remember suggesting this or something similar some time ago (link) but got no response.
Also, yet another suggestion, what about

Code: Select all

[catagolue=b34s34]xp0_example[/catagolue]
would lead to the page for the apgcode in the specified rule?
Ah sorry about that -- it's admittedly a bit of a luck of the draw regarding what I happen to notice when I have my bursts of activity.

I've added your suggested functionality for linking to other rules. Test: xp0_example
GUYTU6J wrote: April 15th, 2020, 10:03 pm Now the button is here!
Can we apply the tag to named objects, e.g. [catagolue]pentadecathlon[/catagolue] and [catagolue]roseluck[/catagolue]?
Unfortunately this is much more complicated. The custom BBcode creator can't (easily) do anything as complex as actually parsing the information passed to a tag and analyzing that content to determine if it is an apgcode or a pattern name. It has to act somewhat uniformly -- in this case, simply linking to a URL that has a piece of it substituted in from the tag.

Re: Suggestion for [catagolue] tag

Posted: April 15th, 2020, 10:37 pm
by Ian07
Nathaniel wrote: April 15th, 2020, 9:34 pm Done! Test: xp15_4r4z4r4

There's a button on the posting page for this now too (just like for the viewer and wiki tags).
Awesome! Only issue is by default it leads to the "no rule specified" page; is there an option to default the rule parameter to b3s23?

Re: Suggestion for [catagolue] tag

Posted: April 16th, 2020, 6:26 am
by Nathaniel
Ian07 wrote: April 15th, 2020, 10:37 pm Awesome! Only issue is by default it leads to the "no rule specified" page; is there an option to default the rule parameter to b3s23?
Done! It now defaults to b3s23 if no rule is specified.

Re: Suggestion for [catagolue] tag

Posted: April 17th, 2020, 5:43 am
by muzik
Would it be possible to extend the function of the tag (or add a new one) so it can link to rules as well?

b367s2-i34q

Re: Suggestion for [catagolue] tag

Posted: September 28th, 2020, 6:01 pm
by Ian07
Per this commit, the "main" Catagolue URL is being changed to hatsya.com to make it more accessible for users in mainland China, so it would be nice if the [catagolue] tag could be updated to account for this.

Re: Suggestion for [catagolue] tag

Posted: April 10th, 2021, 10:47 am
by Nathaniel
Ian07 wrote: September 28th, 2020, 6:01 pm Per this commit, the "main" Catagolue URL is being changed to hatsya.com to make it more accessible for users in mainland China, so it would be nice if the [catagolue] tag could be updated to account for this.
Updated, sorry for the delay.