Difference between revisions of "User talk:MvGulik"

From PioneerWiki
Jump to: navigation, search
(Infobox auto image linking: roger ...)
(Infobox auto image linking: updated Infobox code parts. (+reply))
Line 4: Line 4:
 
Using something like this:
 
Using something like this:
 
<pre>|-
 
<pre>|-
| colspan="2" style="background-color: #FFFFFF; text-align: center; " |  
+
| colspan="2" style="background-color: #FFFFFF; text-align: center; " |
   '''[[{{{img_silhouette|Image:{{PAGENAME}}_silhouette.png}}}]]'''
+
   '''{{{img_silhouette|[[Image:{{{PAGENAME}}}_silhouette.png|center|300px]]}}}'''
   '''[[{{{img_shot|Image:{{PAGENAME}}_shot.png}}}]]'''
+
   '''{{{img_shot|[[Image:{{{PAGENAME}}}_shot.png|center|300px]]}}}'''
 
|-</pre>
 
|-</pre>
 
Instead of this:
 
Instead of this:
Line 13: Line 13:
 
|-</pre>
 
|-</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)
 
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)
 +
 +
'''Infobox_Company''':
 +
Orgiginal:
 +
<pre>|-
 +
| colspan="2" style="background-color: #FFFFFF; text-align: center; " | '''{{{logo}}}'''
 +
|-</pre>
 +
To:
 +
<pre>|-
 +
| colspan="2" style="background-color: #FFFFFF; text-align: center; " | '''{{{img_logo|[[Image:{{{PAGENAME}}}_logo.png|center|200px]]}}}'''
 +
|-</pre>
 +
Ditch parameter ''(in object pages)'':
 +
|logo = <nowiki>[[File:...]]</nowiki>
  
 
----
 
----
Line 19: Line 31:
  
 
: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)
 
: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)
 
----
 
----

Revision as of 23:52, 2 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]]}}}'''
  '''{{{img_shot|[[Image:{{{PAGENAME}}}_shot.png|center|300px]]}}}'''
|-

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)

Infobox_Company: Orgiginal:

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

To:

|-
| colspan="2" style="background-color: #FFFFFF; text-align: center; " | '''{{{img_logo|[[Image:{{{PAGENAME}}}_logo.png|center|200px]]}}}'''
|-

Ditch parameter (in object pages):

|logo = [[File:...]]

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)