Discuss Plantilla:Véase también

From Pathfinder Wiki
Template talk:See Also/es

Wouldn't you want to use the honor_desc/es template here, instead of the English version? --w126jep (talk) 21:31, 20 November 2014 (EST)

Not sure what you're asking. This doesn't use honor_desc/es - honor_desc/es uses this. --Jomegat (talk) 22:10, 20 November 2014 (EST)
No, you're right. I'm trying to figure out stuff on here with about 3 hours of sleep (infants have that effect). Definitely not good. I confused the note that you left with it being part of the markup. --w126jep (talk) 22:23, 20 November 2014 (EST)
Also, I haven't thought about how to do it, but somehow the expanded box should show the names in Spanish. --w126jep (talk) 21:55, 20 November 2014 (EST)
I'm working on that. I have installed the "better" DynamicPageList extension, and I am convinced it will be able to do this. It is incredibly powerful, and as a result, incredibly complex. --Jomegat (talk) 22:10, 20 November 2014 (EST)
Hopefully it'll do the trick. --w126jep (talk) 22:23, 20 November 2014 (EST)
I was under the impression that the prereq stuff was not working at all with es, but honestly, I did not check before I changed it. If you liked the way honor_desc/es was working with this before I changed it, feel free to roll it back. When I get the details worked out, we can try again. This new DLP extension looks very aswesome, and can format its output into tables and add all kinds of crazy meta data. It can even call templates. The old DLP would just spew out unformattable wiki links. This might also be good for localizing the Field Guides. But baby steps first. --Jomegat (talk) 09:23, 21 November 2014 (EST)
I'll check what changes you did, because I haven't really looked at it yet. I don't think it will really be a problem. The prereq is working fine now, it just shows the English versions. --w126jep (talk) 09:33, 21 November 2014 (EST)


I have had the hardest time getting this template to work. I am not sure if I am making the correct connections. What pages or info do I need to have in place in order to make this template show? This is such a great feature, I am just trying to wrap my head around how everything connects. It's been giving me a headache. --w126jep (talk) 15:53, 6 May 2020 (EDT)

It's been so long ago that I wrote this that I don't remember how it works at all. Took me a while to even figure out what it does. Lesson learned: Templates should have documentation explaining what they do, what the arguments are, and maybe how they work.
From what I can tell, if a "lower" honor is a prerequisite for a "higher" honor, the higher one gets added to the AYHAB/Prerequisite/lower_honor category (sorry for abbreviating). So basically, lower_honor is a prerequisite for everything in category:AYHAB/Prerequisite/lower_honor.
Honor_desc will run See_Also on the honor it is describing, and if it finds anything in that category, it uses DPL to list everything that lower_honor is a prerequisite of.
I wonder if it would help to use the English relationships in See_Also/es, but make it use the Spanish translations in the DPL specification. Not sure. Anyhow, I did notice that the DPL stuff is missing from See_Also/es. --Jomegat (talk) 21:46, 6 May 2020 (EDT)


I'm going to put here what templates are used and what connects with what, just so I can have a space to try and organize all of it. Also to have a guide for future reference. I'll probably keep editing this as I figure out more. Let me know if you see something incorrect or feel free to add more info.

Honor "X" is a prerequisite for Honor "Y"

→ The Honor Prerequisite template must be filled out with Honor "X" in it, and then this template must be included in Honor "Y"'s page manually.
→ Using the #if function, the Honor Desc template will check if Honor "Y" is a Primary page.
→ If Honor "Y" is a Primary page (most cases are), Honor Desc will run the See Also template.
  • The See Also template will check if there exists a Prerequisite Category page for Honor "X."
→ If a page for Prerequisite Category for Honor "X" exists, the See Also template will create and include the collapsible table in the honor description.