Difference between revisions of "User:Telinchei/Test3 Templates"

From EVE University Wiki
Jump to: navigation, search
(→‎breaking stuff: finished first tree indentation.)
Line 15: Line 15:
  
 
{{#ifexist: User:Telinchei/Test3 Templates
 
{{#ifexist: User:Telinchei/Test3 Templates
     | begin truebox. toc works too well.
+
     | begin truebox. toc works too well.<!-- oops need to cross the linebreak...
    {{<!--TRANSCLUDER BRACKETS ON LEFT! and a nesting ifeq follows;
+
  -->{{<!--TRANSCLUDER BRACKETS ON LEFT! and a nesting ifeq follows;
 
         -->{{#ifeq: {{NAMESPACE}} IT EXISTS | {{ns:Template}} NOEXISTS |
 
         -->{{#ifeq: {{NAMESPACE}} IT EXISTS | {{ns:Template}} NOEXISTS |
 
           | ReturnT ANOTHERBOXANOTHERDAY :{{NAMESPACE:{{{1|{{FULLPAGENAME}}<!--param_switcher follows-->}}}<!--
 
           | ReturnT ANOTHERBOXANOTHERDAY :{{NAMESPACE:{{{1|{{FULLPAGENAME}}<!--param_switcher follows-->}}}<!--
Line 29: Line 29:
 
             -->Templates]] which can be copied.}}[[Category:Templates without documentation]]
 
             -->Templates]] which can be copied.}}[[Category:Templates without documentation]]
 
             }}
 
             }}
Phew. You have finished the first tree. You should copy it cleanly somewhere for reference, before copying it into the main. Maybe that clean copy should go into the test at [[:Template:Documentation/test]]?
+
<br/> <!-- put slash at end of br.-->
 +
:Phew. You have finished the first tree. You should copy it cleanly somewhere for reference, before copying it into the main. Maybe that clean copy should go into the test at [[:Template:Documentation/test]]? Also, I don't have schizophrenia, I'm just talking to my future self, who is slightly separate from my current self.
  
 
{{#ifexist: <!--YOU MUST PUT A GOOD PARAMETER HERE  {{{1| -->{{FULLPAGENAME}}/doc<!--
 
{{#ifexist: <!--YOU MUST PUT A GOOD PARAMETER HERE  {{{1| -->{{FULLPAGENAME}}/doc<!--

Revision as of 07:56, 2 September 2015

I know this guy, on this wiki he lives at {{{1}}} and he's awesome


"#ifexist"

This tells you what to look for: This function takes an input string, interprets it as a page title, and returns one of two values depending on whether or not the page exists on the local wiki. {{#ifexist: page title | value if exists | value if doesn't exist }}

While trying to sift through it and debug it, take note of the nesting template tags (esp. }})

breaking stuff

begin truebox. toc works too well.Template:ReturnT ANOTHERBOXANOTHERDAY :User:abc wonder what this doesendtBOX BOX BOX Telinchei/Test3 Templates/doc END TRUEBOX

Phew. You have finished the first tree. You should copy it cleanly somewhere for reference, before copying it into the main. Maybe that clean copy should go into the test at Template:Documentation/test? Also, I don't have schizophrenia, I'm just talking to my future self, who is slightly separate from my current self.

if you see this the transcluder is working properly.

makeitwork

This is the correct one. Parameter looks broken.

if you see this the transcluder is working properly.

Template:ReturnT :User:BOX BOX BOX Telinchei/Test3 Templates/doc