Difference between revisions of "GECK:Community Portal/Misc"

From GECK

(Some Page-as-Template notes)
(plugin crash)
Line 1: Line 1:
==Blank space in front of category causes bad sorting==
+
Hi, i'm savo, i've got a problem.. during the creation of the plugin, while it's uploading the files to create that plugin, it crash.. Anyone have got that problem??
Noticed a problem with the sorting of certain functions - they were placed under S instead of where they belonged. For instance, [[IsActor]] was under the S section of [[:Category:Functions]], [[:Category: Actor State Functions]], [[:Category: Condition Functions]] when it had
+
<pre>Returns 1 if the calling object is an actor (creature or NPC).
+
 
+
==See Also==
+
[[GetIsCreature]]
+
 
+
[[Category: Functions]]
+
[[Category: Actor State Functions]]
+
[[Category: Condition Functions]]</pre>
+
I removed the space before the category name on the last line
+
<pre>[[Category:Condition Functions]]</pre>
+
and it sorted under I for all 3 categories.
+
 
+
This is a pretty easy fix, but I need some sleep so I'll get to it later tomorrow.
+
<br>--[[User:Haama|Haama]] 07:14, 15 December 2008 (UTC)
+
 
+
:That's... bizarre. I suspect there was something else going on, I've used both forms liberally here and elsewhere and never had that problem.
+
:[[User:DragoonWraith|DragoonWraith]] &middot; [[User talk:DragoonWraith|talk]] &middot; 08:53, 15 December 2008 (UTC)
+
 
+
::Not sure any more - thought I had tested it by adding the space back to [[IsActor]] to see if it sorted under S again, but I don't see it in the history. Maybe the pages just needed another edit?
+
::Anyway, everything is sorting correctly now.
+
::--[[User:Haama|Haama]] 18:21, 15 December 2008 (UTC)
+
 
+
==Differences from the CS wiki==
+
Just noticed that subpaging [[Settings/FMinesAgeMax|doesn't seem to work]]. Are there any other major differences?
+
<br>--[[User:Haama|Haama]] 07:13, 14 December 2008 (UTC)
+
 
+
:Use {{[[:Template:Bc|Bc]]}} for that. Solves the annoyance of having the extra-long titles, too, if you don't want them.
+
:[[User:DragoonWraith|DragoonWraith]] &middot; [[User talk:DragoonWraith|talk]] &middot; 17:56, 14 December 2008 (UTC)
+
 
+
==Some Page-as-Template notes==
+
So I learned a neat little trick - you can use any page as a template with a colon. That is <nowiki>{{:Object Window/Create Copy}}</nowiki> prints out
+
<br>{{:Object Window/Create Copy}}
+
<br><br>
+
One other nice thing about this trick, the template tag <nowiki><noinclude></nowiki> works just fine (or this page would've just been added to [[:Category:Standardized Snippets|Standardized Snippets]]).
+
 
+
I'm still looking around to see if we can use subsections as templates, but from tests I'd say we can't (or at least it takes more than #).
+
 
+
This method will make template creation and use a bit easier - we can create a page providing useful information as well as use it for a template. I imagine this being most useful for functional information templates - for instance, there is already a page with [[ActionIndex]]es, now we can use it as a template.
+
<br>--[[User:Haama|Haama]] 05:40, 17 December 2008 (UTC)
+
:Sounds good. Will definitely be useful.
+
:--[[User:Quetzilla|Quetzilla]] 05:45, 17 December 2008 (UTC)
+

Revision as of 23:02, 6 July 2015

Hi, i'm savo, i've got a problem.. during the creation of the plugin, while it's uploading the files to create that plugin, it crash.. Anyone have got that problem??

Personal tools