Difference between revisions of "User talk:MvGulik"

From PioneerWiki
Jump to: navigation, search
(Infobox auto image linking: In Progress)
m (Infobox auto image linking: done)
Line 32: Line 32:
 
Will probably start with this Monday. --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 15:46, 4 January 2014 (PST)<br>
 
Will probably start with this Monday. --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 15:46, 4 January 2014 (PST)<br>
 
Think I will be using "_preview" instead of "_shot". Seems more fitting without being to specific. --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 08:37, 5 January 2014 (PST)<br>
 
Think I will be using "_preview" instead of "_shot". Seems more fitting without being to specific. --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 08:37, 5 January 2014 (PST)<br>
Lets roll. In Progress. --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 08:35, 6 January 2014 (PST)
+
Lets roll. In Progress ... Done. (Section to be deleted) --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 10:23, 6 January 2014 (PST)
 
----
 
----
  

Revision as of 18:23, 6 January 2014

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|center|300px|caption]]}}}'''
  '''{{{img_shot|[[Image:{{PAGENAME}}_shot.png|center|300px|caption]]}}}'''
|-

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)

Sanity check:

  1. ships images:
    1. rename shot images. (<PN>_shot.*)(auto-added redirects prevent image link breaks)
    2. rename silhouette images. (<PN>_silhouette.*)(auto-added redirects prevent image link breaks)
      1. Note: Needs a admin to move images if the target name is already in use.
  2. ships template 1/2:
    1. adjust "image" parm to show nothing if not set.
    2. add "img_silhouette" and "img_shot" parm. (will add additional image-links(text or image))
    3. + add ships category.
  3. ships pages:
    1. remove "image" parm.
    2. add "img_silhouette" and "img_shot" parm. o.O
    3. + ditch ships category.
    4. + other general stuff.
  4. ships template 2/2: remove "image" parm.
  5. ships images: delete(tag) unused ship-image redirects.

Will probably start with this Monday. --MvGulik 15:46, 4 January 2014 (PST)
Think I will be using "_preview" instead of "_shot". Seems more fitting without being to specific. --MvGulik 08:37, 5 January 2014 (PST)
Lets roll. In Progress ... Done. (Section to be deleted) --MvGulik 10:23, 6 January 2014 (PST)


I will change the pictures part for part to that naming convention when I have time. Some pictures don't follow that scheme yet. Jmf (talk) 08:12, 2 January 2014 (PST)

Roger. I think I can do that to, as the normal-user rights seems to allow for file movement(rename). But I have not actually tested that yet. (I planned to update the image names directly after implementing the suggested change in the related templates.) --MvGulik 12:02, 2 January 2014 (PST)

PS: if a bunch of unneeded temporary redirects (to be deleted later) is not a problem, I don't mind doing all the needed changes. If there are no objections to the current suggested name changes of course. --MvGulik 15:52, 2 January 2014 (PST)