Jump to content

Help talk:Wikitext examples

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Why not make source code view only?

[edit]

If this page is not to be edited, the editor should make the source code view only. Can it be done? If you agree sign below.

Agree

[edit]

De-Underlining

[edit]

I want to put a wiki link on my userpage without an underline. How can I do that? samwaltz 23:27, 19 August 2007 (UTC)[reply]

Wrong

[edit]

This part - Help:Wikitext examples#Just show what I typed - is all wrong. Can someone fix this, please? Nevermind. The link is still messed up. Rocket000 04:58, 6 October 2007 (UTC)[reply]

nowiki

[edit]

Hi, how do we use nowiki twice? For instance for this situation:

| {{#if: {{{coauthors|}}} | <removethisnowiki>;</removethisnowiki> {{{coauthors}}} }}.

(Remove "removethis") DenizTC 10:13, 13 October 2007 (UTC)[reply]

I tried <pre>, but could not make it work. DenizTC 10:26, 13 October 2007 (UTC)[reply]
[edit]

This functionality doesn't seem to work, when I click on the example it takes me to the List of cities by country article but not the section for Morocco. Here is the source on the help page:

You can link to a page section by its title:

What am I missing? Thanks, Vrac (talk) 07:24, 13 December 2007 (UTC)[reply]

{{helpme}}

This is because there is no section called Morocco (rather like this section is entitled: "Link to section"). The most one could get is [[List of cities by country#M]] which jumps to the section "M". x42bn6 Talk Mess 00:03, 30 January 2008 (UTC)[reply]

Formatting of long template calls in wikitext

[edit]

Is there a style guide (or similar) anywhere that speaks to this subject? I've been long frustrated by editting articles with many calls to the cite templates. They tend (when done properly) to run 200-300 characters long. I have a personal preference for using line breaks before and after the curly braces so that each citation stands alone in the wikitext, but letting the parameters run together. Done like this, an edit history or a version diff are legible while the associated text remain visible on the preceding line of the diff. See concussion for an example.LeadSongDog (talk) 19:17, 28 January 2008 (UTC)[reply]

Breecloader

[edit]

What is the name of the door to a breech loader? you know, the part you unscrew? —Preceding unsigned comment added by 24.246.216.123 (talk) 15:18, 17 April 2008 (UTC)[reply]


Accessibility

[edit]

Will there be any guidance in this help page to help editors make sure that the text is accessible to assistive devices? —Preceding unsigned comment added by 198.103.53.5 (talk) 00:13, 16 May 2008 (UTC)[reply]

Source

[edit]

The <source> tag should also be described here. SharkD (talk) 05:44, 17 August 2008 (UTC)[reply]

 Done. Help:Wikitext examples#Software source code. --68.0.124.33 (talk) 22:31, 17 November 2009 (UTC)[reply]

Definition List with colon character

[edit]

What do I write when I want to have a colon at the end of a definition tag like here:

With a colon:
Does not work with Wikicode

The colon at the end always introduces a description item... —Preceding unsigned comment added by 84.233.207.141 (talk) 08:31, 11 February 2009 (UTC)[reply]

Try putting "nowiki" tags around the letters you want to print out literally, and MediaWiki will (usually) let them through:

What it looks like What you type
With a colon:
Definition of the word with a colon
; With <nowiki>a colon:</nowiki>: Definition of the word with a colon

Does that answer your question? --68.0.124.33 (talk) 22:50, 4 March 2009 (UTC)[reply]

This example is exactly what I needed to know! Could someone add it to the right place on the help page? Thanks! --Funandtrvl (talk) 06:49, 2 November 2009 (UTC)[reply]
 Done. You are welcome. --68.0.124.33 (talk) 22:30, 17 November 2009 (UTC)[reply]