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

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Haama
(Pages as Templates)
imported>Quetzilla
Line 40: Line 40:
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.
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)
<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 00:45, 17 December 2008

Blank space in front of category causes bad sorting

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

Returns 1 if the calling object is an actor (creature or NPC).

==See Also==
[[GetIsCreature]]

[[Category: Functions]]
[[Category: Actor State Functions]]
[[Category: Condition Functions]]

I removed the space before the category name on the last line

[[Category:Condition Functions]]

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.
--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.
DragoonWraith · talk · 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.
--Haama 18:21, 15 December 2008 (UTC)

Differences from the CS wiki

Just noticed that subpaging doesn't seem to work. Are there any other major differences?
--Haama 07:13, 14 December 2008 (UTC)

Use {{Bc}} for that. Solves the annoyance of having the extra-long titles, too, if you don't want them.
DragoonWraith · talk · 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 {{:Object Window/Create Copy}} prints out
Changing the EditorID will allow you to copy a base object

  1. Select the base object with the icon and model you would like your new base object to have
    • You can check the icon and model by double-clicking the base object
  2. "Change" the EditorID of the base object
    • Click the EditorID of the base object once to hightlight it, and then again to change it, then give it a new EditorID and press Enter
    • You can also change it in the Edit menu
      1. Right-click on it and select edit or double-click it
      2. Once in the edit menu, change the EditorID and press OK
  3. You should see the dialogue
    Create a new object?
    No will rename this object
    • Select "Yes"
  4. If necessary, make any further changes to the new base object through the Edit Menu



One other nice thing about this trick, the template tag <noinclude> works just fine (or this page would've just been added to 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 ActionIndexes, now we can use it as a template.
--Haama 05:40, 17 December 2008 (UTC)

Sounds good. Will definitely be useful.
--Quetzilla 05:45, 17 December 2008 (UTC)