Template talk:Engine

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

"Edit this section"-links

I tried using a template (Template:EditSection) to define the "Edit this section"-links, but apparently there a problem in passing the URL of the current template to another. Instead we can use the collapsed template (as in; just copy-paste the code from the template). In that case it looks like this:

{|style="margin:1em 1em 1em 0; border-collapse:collapse; float:right; clear:right; margin-bottom:0.5em; margin-left:1em; padding:0.2em; border:0px solid #AAA; background:#F9F9F9;"
! style="text-align: center;" | <sub>[http://gpwiki.org{{localurl:Template:{{{name}}}:Description|action=edit}} Edit this section]</sub>
|}
Edit this section

(notice the link to the right)

Compared to the current solution:

<sub>[http://gpwiki.org{{localurl:Template:{{{name}}}:History|action=edit}} Edit this Section]</sub>

Edit this Section

There are some potential problems with overlay with the first solution, so I don't know which is best... --Sion 08:08, 21 January 2007 (EST)

Hm, I like how it floats to the right, but I can tell there might be issues if it did. It would be nice if we could get it where the old little "edit" link was. We need more opinions!