This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.


From Nocyclopedia
[edit] [purge] Template-info.svg Template documentation


Used with {{Get}}, this allows one to send and return a number on the current page. This can be used to change the content of an existing page without having to create a separate page for each change, but just adjust the existing page.


{{Goto|''desired number''|''Text to display - optional''}}


The current number is 0 using {{Get}}, or the number is Template:CGI using {{CGI}}. (Note that although this does use the same technique as {{CGI}}, it does have a larger number of variables it can cope with.)

Syntax Result
{{Goto|1}} Go to page 1
{{Goto|1|Proceed to page 1}} Proceed to page 1
{{Goto|1000|Set number to 1000}} Set number to 1000
{{Goto|{{#expr:{{Get}} + 1}}|Go to next page}} Go to next page
{{Goto|{{#expr:{{Get}} - 1}}|Return to previous page}} Return to previous page
{{Goto|583|Do you pick up the sword?}} Do you pick up the sword?
{{Goto|{{#expr:({{Get}} + 1) mod 10}}|Display text|Hover text|color:black;}} Display text