Difference between revisions of "User talk:MvGulik"

From PioneerWiki
Jump to: navigation, search
m (Infobox auto image linking: done)
(Infobox auto image linking: cleared (soft delete))
 
Line 1: Line 1:
== Infobox auto image linking ==
 
  
([[Template:Infobox Ship]])
 
Using something like this:
 
<pre>|-
 
| 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]]}}}'''
 
|-</pre>
 
Instead of this:
 
<pre>|-
 
| colspan="2" style="background-color: #FFFFFF; text-align: center; " | '''{{{image}}}'''
 
|-</pre>
 
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) --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 19:02, 1 January 2014 (PST)
 
 
Sanity check:
 
# ships images:
 
## rename shot images. (<PN>_shot.*)(auto-added redirects prevent image link breaks)
 
## rename silhouette images. (<PN>_silhouette.*)(auto-added redirects prevent image link breaks)
 
### '''Note''': Needs a admin to move images if the target name is already in use.
 
# ships template 1/2:
 
## adjust "image" parm to show nothing if not set.
 
## add "img_silhouette" and "img_shot" parm. (will add additional image-links(text or image))
 
## + add ships category.
 
# ships pages:
 
## remove "image" parm.
 
## <strike>add "img_silhouette" and "img_shot" parm.</strike> o.O
 
## + ditch ships category.
 
## + other general stuff.
 
# ships template 2/2: remove "image" parm.
 
# ships images: delete(tag) unused ship-image redirects.
 
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>
 
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)
 
----
 
 
I will change the pictures part for part to that naming convention when I have time. Some pictures don't follow that scheme yet. [[User:Jmf|Jmf]] ([[User talk: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.) --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 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. --[[User_talk:MvGulik|<i><font color="#666">MvGulik</font></i>]] 15:52, 2 January 2014 (PST)
 
----
 

Latest revision as of 15:31, 15 January 2014