User:EscapedPrisonerTests
From TYPO3Wiki
Just a test-page of the wiki-features. Maybe it's possible to create templates/ makros to save edit-time.
Contents |
Constant, only depending on the project and parameters
| {{ns:-2}} or {{ns:Media}} | Media | ||||||||||||||
| {{ns:-1}} or {{ns:Special}} | Special | ||||||||||||||
| {{ns:1}} or {{ns:Talk}} | Talk | ||||||||||||||
| {{ns:2}} or {{ns:User}} | User | ||||||||||||||
| {{ns:3}} or {{ns:User_talk}} | User_talk | ||||||||||||||
| {{ns:4}} or {{ns:Project}} | TYPO3Wiki | ||||||||||||||
| {{ns:5}} or {{ns:Project_talk}} | TYPO3Wiki_talk | ||||||||||||||
| {{ns:6}} or {{ns:Image}} | Image | ||||||||||||||
| {{ns:7}} or {{ns:Image_talk}} | Image_talk | ||||||||||||||
| {{ns:8}} or {{ns:MediaWiki}} | MediaWiki | ||||||||||||||
| {{ns:9}} or {{ns:MediaWiki_talk}} | MediaWiki_talk | ||||||||||||||
| {{ns:10}} or {{ns:Template}} | Template | ||||||||||||||
| {{ns:11}} or {{ns:Template_talk}} | Template_talk | ||||||||||||||
| {{ns:12}} or {{ns:Help}} | Help | ||||||||||||||
| {{ns:13}} or {{ns:Help_talk}} | Help_talk | ||||||||||||||
| {{ns:14}} or {{ns:Category}} | Category | ||||||||||||||
| {{ns:15}} or {{ns:Category_talk}} | Category_talk | ||||||||||||||
| (depending on custom namespaces) | |||||||||||||||
| {{ns:100}} | |||||||||||||||
| {{ns:121}} | |||||||||||||||
| {{SITENAME}} | TYPO3Wiki | ||||||||||||||
| {{SERVER}} | http://wiki.typo3.org | ||||||||||||||
| {{localurl:pagename}} | /index.php/Pagename | ||||||||||||||
| {{localurl:pagename|query string}} | /index.php?title=Pagename&query string | ||||||||||||||
| {{int:fromwikipedia}} | From TYPO3wiki
</table> "INT:" is used to get text from wfMsg, such as messages in the LanguageXx.php file (see example over). It is short for "internal". [edit] Depending on page
PAGENAMEE displays the page title in the form that is used in URLs, i.e. with underscores for spaces, and escape codes for special characters, and is therefore used for constructing URLs. For example, on a page called "Another test", PAGENAMEE would produce "Another_test" rather than "Another test". See also Variables {{PAGENAME}} and {{PAGENAMEE}} When used in a template, these three variables refer to the page in which the template is included, not to the template page. [edit] substPutting "subst:" after the double opening braces causes this code in the wikitext to be replaced by the wikitext of the template when the referring page is saved. subst-Examples: {{subst:rcnote}} User:EscapedPrisonerTest4Subst {{subst:rcnote}} test-content Hm. It works. The subst-command is replaced with the content of the page :) User:EscapedPrisonerTest4SubstDe {{subst:User:EscapedPrisonerTest4SubstDe}} [edit] Stubssee: http://en.wikipedia.org/wiki/Rap_metal, http://en.wikipedia.org/wiki/Category:Computer_stubs Stubs and templates seem to be the same. Stubs can be ordered to categories - templats maybe not.
[edit] Templates - much easier than subst!!
[edit] numbered header
|
||||||||||||||
