Template:Subpages4: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 11: | Line 11: | ||
***The following code determine if the article name is longer than twenty characters. If so, main article is used rather than the actual name. This means huge names are not crunched into the navigation template. At present the the expr functions to determine string length are not functional in CZ.*** | ***The following code determine if the article name is longer than twenty characters. If so, main article is used rather than the actual name. This means huge names are not crunched into the navigation template. At present the the expr functions to determine string length are not functional in CZ.*** | ||
-->{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{BASEPAGENAME}}]]''' }}<!-- | -->{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{BASEPAGENAME}}]]''' }}<br><font size=1>''[[{{BASEPAGENAME}}/Info|Information]]''</font><!-- | ||
***The next piece of code adds a Link to the draft page if it exists*** | ***The next piece of code adds a Link to the draft page if it exists*** |