Template talk:Wiki list: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(edit link inside template?)
(→‎possible edit code: fixing redirect)
Line 6: Line 6:
I found it confusing how to edit the box, since there's no edit link there.  This code puts an edit link in the box, as long as the pagename is the same as the wikiname.  There's probably a better way to do it, but it works.  
I found it confusing how to edit the box, since there's no edit link there.  This code puts an edit link in the box, as long as the pagename is the same as the wikiname.  There's probably a better way to do it, but it works.  
  <nowiki><small class="editlink noprint plainlinksneverexpand">[{{SERVER}}{{localurl:{{{wiki_name}}}|action=edit}} edit this box]</small></nowiki>   
  <nowiki><small class="editlink noprint plainlinksneverexpand">[{{SERVER}}{{localurl:{{{wiki_name}}}|action=edit}} edit this box]</small></nowiki>   
I tried it with [[User talk:Tedernst/templatetest]] as the template and [[User talk:Tedernst/articlewithtemplatetest]] as the article. [[User:Tedernst|Tedernst]] 16:23, 18 Jan 2006 (EST)
I tried it with [[User talk:TedErnst/templatetest]] as the template and [[User talk:TedErnst/articlewithtemplatetest]] as the article. [[User:Tedernst|Tedernst]] 16:23, 18 Jan 2006 (EST)

Revision as of 23:28, 18 January 2006

Template Edits

  • Also, I edited the template format just a bit, i think it's clearer, but change at will of course --Ray 13:41, 15 Jan 2006 (EST)
    • Cool, I rearranged the template a bit also, to think about Mark

possible edit code

I found it confusing how to edit the box, since there's no edit link there. This code puts an edit link in the box, as long as the pagename is the same as the wikiname. There's probably a better way to do it, but it works.

<small class="editlink noprint plainlinksneverexpand">[{{SERVER}}{{localurl:{{{wiki_name}}}|action=edit}} edit this box]</small>  

I tried it with User talk:TedErnst/templatetest as the template and User talk:TedErnst/articlewithtemplatetest as the article. Tedernst 16:23, 18 Jan 2006 (EST)