I had a small accident when I was checking it up. The page I picked for it was the last of pages where I actually wrote the Noimage.png as the ship image. I wondered why the red link still shows, I reloaded, purged... Only when I checked the template I realized where the fault is:). (All those pages are now corrected, stupid mistake)
I'll try and write something in the Noimage's info page...
Edit:
I delved into a Navigation template for the ship lists instead. I copied your Guide Nav template and played with it (trying to understand what the hell those styles do) and created something I am quite happy with. Check it out, and please check the template code for any errors or redundancies. Half the time I didn't know what exactly I am doing, even with a Wikipedia help file...
Even if it's alright, don't expect I can do it well now:)
:$
What I mean is, I still don't understand the table syntax well, no matter the result.
I tried both top and bottom too. It looks well on top. I just felt it stands out a lot, maybe too much for these pages. It needs to stand out in the Guide, but not that much here. But then, in the bottom it's too hidden on the long pages (Fighters & Caps). Tough call. I'll play with it in my Sandbox again...
Would this be possible and work Blodo? Then of course this could be possible for the commodities boxes as well.
One other thing Id like to see is in the style guide is a command to
import the {{template}} into <pre> text </pre> . I've had a brief look at advanced templates and "recursively self-converting pages"
but I dont see how to import another page into <pre> tags </pre>. It's getting into too many big words for me.
Basically I want the style guide templates to update themselves each time we change the "ship infobox" template for example.
this will ensure that any readers of the style guide will have the latest version of that template.
Make sense? If not talk to me on skype or here so we can clarify.
Sovereign Wrote:Seek fun and you shall find it. Seek stuff to Q_Q about and you'll find that, too. I choose to have fun.
Well, that's the thing. No it wouldn't, or if it would then I don't know how. I was googling it, trying to find an answer, but found nothing. I bet it's impossible without a plugin of some sort most likely, since not even the parserFunctions plugin seems to support dynamic arrays and foreach statements. So the best we could do is simulate it by adding an odd 20 rows to the template and hiding rows if they aren't used. Although that is a really crappy way to do it IMO, and I don't think it's possible either without parserFunctions.
About importing <pre> text: Technically it's not even part of the template since it's inbetween noinclude tags:PI would be able to hack it around a bit to display the template command if a specific parametre was given to it, but I can't do it until Igiss installs the parser functions plugin (which he still didn't). I'd install the plugin myself since I know how to, but it's doubtful I will ever get access to the wiki ftp, so..
It doesn't have to take an arbitrary number of parameters, no dynamic arrays. There is a natural limit to the number of enemies a faction can have (Xenos may be an exception:P). Just let the template have N parameters that show only if they are specified. I think that should be possible.
EDIT: I created "Template:Template sandbox" that I will use to learn creating templates. Feel free to use it for testing if you need.
EDIT2: Ok, we really need the parser. But I am almost sure that then it will work.
I dunno, I really hate the concept of limited rows, especially since it will not work out at all for commodities. Would rather there was a way to generate them dynamically, but it's a pain that mediawiki doesn't support it. I'll keep googling for a solution.
@Blodo: I didn't say it's a nice solution. It's an ugly and inefficient solution, but I would rather have that than no solution. Keep searching, I'll learn using the Templates (maybe I will try the regular wiki, so I can use the parser) and then I'll look for it too.
I'm going to be adding a detailed timeline as well as a nice and long history essay to it. All I need to do is find consultants who can very my stories, so I'll probably be PMing Preatyre with this soon enough:P