User talk:MvGulik

From PioneerWiki
Revision as of 03:14, 2 January 2014 by MvGulik (talk | contribs) (Infobox auto image linking: nts)
Jump to: navigation, search

Infobox auto image linking

(Template:Infobox Ship) Using something like this:

|-
| colspan="2" style="background-color: #FFFFFF; text-align: center; " | 
  '''[[{{{img_silhouette|Image:{{PAGENAME}}_silhouette.png}}}]]'''
  '''[[{{{img_shot|Image:{{PAGENAME}}_shot.png}}}]]'''
|-

Instead of this:

|-
| colspan="2" style="background-color: #FFFFFF; text-align: center; " | '''{{{image}}}'''
|-

Would auto link to target image(s) based on pagename (losing the need to specify image links in the Infobox on the object pages). And normalize the used image naming. (same for Corp, "img_logo") ... nts: needs to include/support the "|center|300px" part) --MvGulik 19:02, 1 January 2014 (PST)