Template talk:Tle
From Wikipedia, the free encyclopedia
Contents |
[edit] Innaugeral test
- Test 1 will edit own contents. (Edit{{ tle }} ) - worked first time
just gave [[edithttp://en.wikipedia.org/w/index.php?title=Template:Tle&action=edit] link, no text. - Added link name?
Test 2: (Edit {{ Arg-2 }} ) -
Test 2 Result: 'ahem' - Gave:
In test 1. ({{{2|{{{{{2}}}|edit}}|{{{2}}}) == link part (which part works as edit link following (URL: http://en.wikipedia.org/w/index.php?title=Template:Tle&action=edit) which is the Tle source page, and still entirely correct as a link.)
In test 2. Added link name? ({{{2|Template:Arg-2|Arg-2)
where:
a. '({{{2|' is the link,
b. 'Template:Arg-2' is a bonifide redlink,
c. and '|Arg-2)' is 'dead text'.
Conclude too many pipes among other things. - Change tail end:
from: action=edit}} {{{2|{{{{{2}}}|edit}}|{{{2}}}])
to: action=edit}} {{#if:{{{2|}}}|edit {{{2}}} }}])
[edit] test updates
- {{Tle}} ([{{fullurl:Template:{{{1}}}|action=edit}} | [ {{ Edit {{{1}}} }} ] ])
- {{Tle|Glops}} (| [ {{ Edit Glops }} ] )
Case 2 is close, but fails, One kills the template logic, so no link. // FrankB 20:05, 29 August 2006 (UTC)
[edit] Try #2
- Took Brackets out of assembledged string.
- {{Tle}} ([{{fullurl:Template:{{{1}}}|action=edit}} | Edit {{ {{{1}}} }} ])
- {{Tle|Glops}} (| Edit {{ Glops }} )
[edit] Try #3
- moved right Braces in command string.
- {{Tle}} ([{{fullurl:Template:{{{1}}}|action=edit}} Edit {{ Edit {{ {{{2}}} }} }} ])
- {{Tle|Tle|Glops}} (Edit {{ Glops }} )
- {{Tle|Tle}} ( Edit {{ Tle }} )
- Case 2+3 work fine-
- ([{{fullurl:Template:{{{1}}}|action=edit}} Edit {{ Edit {{ {{{2}}} }} }} ]) Is the problem.
Conclude:Display is fine, but for 'no' arg trapping.
[edit] Try #4
- {{Tle}} ({{ Edit {{ {{{2}}} }} }} ) Ditto... the two below stray 'Edit'
- {{Tle|Glops}} ({{ Glops }} ) I}}Get This on clicking: http://en.wikipedia.org/w/index.php?title=Template:Glops&action=edit Edit
Emphasis added! - {{Tle|Tle}} ({{ Tle }} )
Get This on clicking: http://en.wikipedia.org/w/index.php?title=Template:Tle&action=edit Edit
Emphasis added!
- All links are links again...
- Must be switching wront... no 'edit' in case 2 & 3 now.
Above subst & saved. // FrankB 20:44, 29 August 2006 (UTC)
[edit] Try #5
- Below now all works... big batch of above is missing in display, but not edit window!
- Going to freeze this since porbably should report as Bug (IE6, at least)...
- {{Tle}} (Edit{{ Tle }} )
- {{Tle|Glops}} (Edit{{ Glops }} )
- {{Tle|Tle}} (Edit{{ Tle }} )
Concluding this test, sans subst with success, but strange missing text block... all the earlier tests today into former stuff. (See below) // FrankB 21:20, 29 August 2006 (UTC)
[edit] Bug
- All text display between these two unrelated snippets disappears from my screen.
This is CnP of my Preview screen: (If I add nothing after saving, the problem persisted then too. /FrankB
In test 2. Added link name? ({{{2|Template:Arg-2|Arg-2) where: a. '({Template:2Get This on clicking: http://en.wikipedia.org/w/index.php?title=Template:Glops&action=edit Edit Emphasis added!
(Edit{{ Tle }} ) ((Edit{{ Tle }} ) )
Get This on clicking: http://en.wikipedia.org/w/index.php?title=Template:Tle&action=edit Edit
Note this part (Template '2' as a redlink): ({{{2|Template: