Talk:Trolling: Difference between revisions

Im celebrating
(The stuck..)
(Im celebrating)
Line 1: Line 1:
== Template Edits ==
<div style="border: solid 1px #eee; padding: 5px">
* Also, I edited the template format just a bit, i think it's clearer, but change at will of course --[[User:Rathbone|Ray]] 13:41, 15 Jan 2006 (EST)
{| class="wikitable"
** Cool, I rearranged the template a bit also, to think about [[User:MarkDilley|Mark]]
! Name of department
[[Name:: {{#titleparts: {{PAGENAME}} | | -1 }} ]]
{{ #if: {{{Name|}}} |
| [[Name::{{{Name|}}}]]
}}
{{ #if: {{{Director|}}} |
|-
! Director
| [[Director::{{{Director|}}}]]
}}
|-
! Department of
[[Isof::{{#titleparts: {{PAGENAME}} | -1 }}]]
{{ #if: {{{Isof|}}} |
| [[Isof::{{{Isof|}}}]]
}}
{{ #if: {{{Address|}}} |
|-
! Address
| [[Address::{{{Address|}}}]]
}}
{{ #if: {{{Telephone|}}} |
|-
! Telephone
| [[Telephone::{{{Telephone|}}}]]
}}
{{ #if: {{{Email address|}}} |
|-
! Email address
| [[Email address::{{{Email address|}}}]]
{{ #if: {{{Website link|}}} |
|-
! Website link
| [[Website link::{{{Website link|}}}]]
}}
|}


== possible edit code ==
{{ListChildren}}
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> 
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)


huh? [[User:MarkDilley|MarkDilley]]
{{AddDept}}
 
<span style="float: right">Template: [[Template:Department]]</span>
</div>
 
 
[[Category:Department]]
Anonymous user