User talk:MvGulik

From PioneerWiki
Revision as of 03:02, 2 January 2014 by MvGulik (talk | contribs) (Infobox auto image linking: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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") --MvGulik 19:02, 1 January 2014 (PST)