Community Central
Community Central
No edit summary
No edit summary
 
Line 22: Line 22:
 
:[[File:WinniethePooh.gif|50px]]
 
:[[File:WinniethePooh.gif|50px]]
 
:--&nbsp;[[User:Fandyllic|<span style="border-bottom:1px dotted; cursor:help;" title="Who?">Fandyllic</span>]]<small> ([[User talk:Fandyllic|talk]] &middot; [[Special:Contributions/Fandyllic|contr]])</small> 9:56 PM PST 6 Jan 2011
 
:--&nbsp;[[User:Fandyllic|<span style="border-bottom:1px dotted; cursor:help;" title="Who?">Fandyllic</span>]]<small> ([[User talk:Fandyllic|talk]] &middot; [[Special:Contributions/Fandyllic|contr]])</small> 9:56 PM PST 6 Jan 2011
  +
::And replacing File: with Media: gives you a direct link to the file, like this: [[Media:Wiki.png]] - [[User:Adan Aileron|Adan Aileron]] ([[User talk:Adan Aileron|talk]]) 14:00, January 8, 2011 (UTC)

Latest revision as of 14:00, 8 January 2011

Forums: Index Community Central Forum How do I remove the file extension?
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4849 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


How do you remove the file extension (e.g. .png, .gif, etc.) if I link that file to an article? AdminTheSecond 11:26, January 6, 2011 (UTC)

Not 100% what you mean but if you want to create a wiki link to 'take' you to the file rather than 'display' it you just link like this:-

[[:File:Wiki.png|Wiki image]] which gives a link like > Wiki image were Wiki Image can be any text you what to appear as the link instead of the actual link 'address' just like a normal wiki link. In this example the file linked to is the std wiki logo > Wiki

The important bit is the prefix of ":" which can allso be used with categories to link to them within an article instead of displaying them in the category section. -   BulldozerD11   talk    contribs    email   12:22, January 6, 2011 (UTC)

Or you can link an image to a page instead of its description.
For example: [[File:WinniethePooh.gif|50px|link=User:WinniethePooh]]
gives...
WinniethePooh
...which links to User:WinniethePooh rather than the image or File:WinniethePooh.gif if you click the      icon.
[[File:WinniethePooh.gif|50px]]
gives...
WinniethePooh
-- Fandyllic (talk · contr) 9:56 PM PST 6 Jan 2011
And replacing File: with Media: gives you a direct link to the file, like this: Media:Wiki.png - Adan Aileron (talk) 14:00, January 8, 2011 (UTC)