Two new wiki data display types: faction and imagelink
Open in chat • 3 posts (analysis)
• Page 1 of 1
I've created two desperately needed extra types for displaying data on the wiki.
the
The type accepts the following hints (with
The
The type accepts the following hints (with
I've already updated the technologies list, the Races (rules), the Races (ic), the Characters, Corporations, Factions and the Union page. I've also updated the Technology known template.
I can't think up any other places that need fixing, but if you encounter a list with images in it, and the images don't link to the listed things, a conversion works like this:
Old:
New:
(The
EDIT: I just updated the system navigation box, so those small images link to the planets.
Faction
the
_faction type displays a reference to a faction as that faction's blazonry. This blazonry is a link to the faction. This can be seen in action on any technology page (the 'Known by' list).The type accepts the following hints (with
_faction(hint)):-
icon, creates a 16x16 logo -
normal, creates a 24x24 logo (this is used by default) -
large, creates a 48x48 logo - a number between 14 and 256 to create a logo to exact specifications
Imagelink
The
_imagelink type displays the image associated with a page as a link to the page. This is useful for long listings where the image previously linked to a useless page with information on the image.The type accepts the following hints (with
_imagelink(hint)):-
icon, creates a 16x16 image -
normal, creates a 48x48 image (this is used by default) -
full, creates an 'actual size' image - a number between 16 and 300 to create a image to exact specifications
I've already updated the technologies list, the Races (rules), the Races (ic), the Characters, Corporations, Factions and the Union page. I've also updated the Technology known template.
I can't think up any other places that need fixing, but if you encounter a list with images in it, and the images don't link to the listed things, a conversion works like this:
Old:
- Code: Select all
<table ?img "" ?c "Corporation">
?c is a: corporation
?c Image_image(48): ?img
</table>
New:
- Code: Select all
<table ?c_imagelink "" ?c_ref "Corporation">
?c is a: corporation
</table>
(The
?c Image_image(48): ?img line is removed, the ?img in the header is replaced with ?c_imagelink, and the ?c is qualified with the ref type as ?c_ref.)EDIT: I just updated the system navigation box, so those small images link to the planets.
-

Mercury - Storyteller
These two new datatypes seem awefully useful! Yay!
looking good
3 posts (analysis)
• Page 1 of 1

