Talk:DTextEntry/SetFont

From Garry's Mod
Jump to: navigation, search

This is just inherited from DLabel.SetFont. Delete? --Zerf 00:08, 11 November 2016 (UTC)

Actually, I wonder if we should make a template for inherited functions. It can transclude the parent's page ( {{:DLabel/SetFont}} ), and maybe look a little different to emphasize that it's inherited. Useful because in some cases it can be unclear that a panel inherits some functions from another panel. It will also stop editors from wrongly adding these functions. --NeatNit 12:55, 11 November 2016 (UTC)
I've made a template for testing this idea, usage is: {{User:NeatNit/Template/InheritedFunc|DLabel}}
(if agreed upon, we'll move it to {{InheritedFunc|DLabel}})
Looks like this: http://wiki.garrysmod.com/index.php?title=DTextEntry/SetFont&oldid=25877
Obviously not very good in its current state, but it's a starting point. I'm thinking of adding a soft colored background to the entire page. Thoughts?
--NeatNit 06:49, 13 November 2016 (UTC)
I'd be able to inject the note inside the description if we had this extension (which we don't): https://mediawiki.org/wiki/Extension:Labeled_Section_Transclusion
--NeatNit 07:06, 13 November 2016 (UTC)
Personal tools
Navigation