Help:Template
- parent: Help
Help:Template will one day provide help for using templates on electowiki. As of right now, we just point you to wikipedia:Help:Template
Substitution
- main article: Help:Subst
Sometimes, it's nice to be able to get the wikitext generated from a template, without actually embedding the template. A good example of this is for Template:US-State. This template can be used to make the pages for all 50 US States, and Washington D.C., and Puerto Rico, and Guam....and well, you get the idea. So the first step is to do this
{{US-State|name=Washington D.C.|region=Eastern}}
But the problem with that is that it generates the following:
Washington D.C. is a state in the United States of America
Well, even though that should be the case, it's not yet (in June 2020). So what User:RobLa did when he made the Washington D.C. article was first created it with this:
{{subst:US-State|name=Washington D.C.|region=Eastern}}
...and then he edited it. The result is at this URL: https://electowiki.org/w/index.php?title=Washington_D.C.&oldid=11916
List of all templates
- main article: Help:List of all templates
Below is a list of all of the templates on this wiki. There are a lot of them. We probably need to delete a few.
- !!
- !!/doc
- !((
- !)
- !-
- !mxt
- !xt
- '
- 's
- (!
- ((
- ))
- ))!
- 1x
- =
- A-LINK
- AWB standard installation
- Abbr
- According to whom
- According to whom/doc
- Advert
- Advocacy
- AdvocacySection
- Aligned table
- Ambox
- Ambox/doc
- Anchor
- Arbitrary break
- As of
- Asbox
- Auto short description
- Autotranslate
- Autotranslate/clone 2
- Aye
- Ballots
- Ballots/styles.css
- Block indent
- Book
- Book/en
- Botsum
- Bsd-licensed
- Bulleted list
- Burlington 2009 pairwise table
- Buttinsky
- C
- COinS safe
- Cascade-protected template
- Cat
- Category handler
- Category link
- Category link with count
- Category see also
- Category see also/Category pair check
- Catmain
- Caution
- Center
- Citation
- Citation/doc
- Citation/make link
- Citation Style 1
- Citation Style documentation
- Citation Style documentation/agency
- Citation Style documentation/author
- Citation Style documentation/auto-date-format
- Citation Style documentation/chapter
- Citation Style documentation/chapterurl
- Citation Style documentation/coins
- Citation Style documentation/conference
- Citation Style documentation/cs1
- Citation Style documentation/date
- Citation Style documentation/deprecated
- Citation Style documentation/display
- Citation Style documentation/edition
- Citation Style documentation/editor
- Citation Style documentation/id1
- Citation Style documentation/id2
- Citation Style documentation/journal
- Citation Style documentation/language
- Citation Style documentation/lay
- Citation Style documentation/lead
- Citation Style documentation/lua
- Citation Style documentation/pages
- Citation Style documentation/publisher
- Citation Style documentation/quote
- Citation Style documentation/ref
- Citation Style documentation/ref2
- Citation Style documentation/registration
- Citation Style documentation/required
- Citation Style documentation/sep comma
- Citation Style documentation/sep period
- Citation Style documentation/series
- Citation Style documentation/syntax
- Citation Style documentation/title
- Citation Style documentation/type
- Citation Style documentation/url
- Citation Style documentation/usage
- Citation Style documentation/usage common
- Citation Style documentation/usage full
- Citation Style documentation/usage vertical
- Citation Style documentation/usage vertical common
- Citation Style documentation/usage vertical end
- Citation Style documentation/usage vertical mid
- Citation Style documentation/volume
- Citation Style documentation/web
- Citation Style documentation/whats new
- Citation and verifiability article maintenance templates
- Citation needed
- Citation style
- Cite
- Cite arXiv
- Cite arXiv/doc
- Cite arxiv
- Cite book
- Cite book/TemplateData
- Cite book/doc
- Cite conference
- Cite conference/doc
- Cite constitution
- Cite encyclopedia
- Cite journal
- Cite journal/doc
- Cite news
- Cite news/doc
- Cite patent
- Cite patent/authors
- Cite patent/core
- Cite patent/doc
- Cite ssrn
- Cite thesis
- Cite thesis/doc
- Cite web
- Cite web/doc
- Clarify
- Clarify/doc
- Cleanup
- Clear
- Clear/doc
- Clickable button
- Clickable button/iconclass
- Code
- Collapse
- Collapse/doc
- Collapse Templates
- Collapse bottom
- Collapse top
- Collapse top/TemplateData
- Collapse top/doc
- Color
- Column-width
- Columns
- ConvStart
- Crossreference
- Cs1
- Cs2
- DMCA
- Dabnav
- Dagger
- Date
- Dated maintenance category
- Definition
- Delink
- Delink question hyphen-minus
- Demo
- Diagonal split header
- Diagonal split header/doc
- Diff
- Dir
- Disambiguation
- Disambiguation/cat
- Disambiguation/cat/doc
- Disambiguation/doc
- Disambiguation page short description
- Disambiguation page short description/doc
- Dispute templates
- Distinguish
- Div col
- Div col end
- Dmbox
- Dmbox/styles.css
- Documentation
- Documentation/en
- Documentation/layout
- Documentation subpage
- Doi
- Draft
- Dtl
- Dubious
- Dubious/doc
- EM.
- Edit
- Edit conflict
- Efn
- Elc
- Election box ranked choice bar
- Election box ranked choice begin no party
- Election box ranked choice candidate no party
- Election box ranked choice winning candidate no party
- ElectionsCA
- Electorama!
- ElectoramaHeader
- ElectoramaHeader/doc
- Electowidget Infopanel
- Electowidget Schema Config (generated)
- Em
- End
- Endflatlist
- Essay
- Expand section
- Expand section/doc
- Extension DPL
- FBDB
- FULLROOTPAGENAME
- Fake citation needed
- Fake heading
- Fallback
- Fallback/doc
- Fauxheader
- Fix
- Fix-span
- Fix/category
- Flatlist
- Fmbox
- Font color
- For2
- For loop
- Format TemplateData
- Format item
- Frac
- Fromelectorama
- Fromwikipedia
- Further
- Gadget-desc
- Gadget-translatelabel
- GetFallback
- GetFallback2
- Graph:Chart
- Graph:Chart/doc
- Graph:Lines
- Graph:Lines/doc
- Graph:Stacked
- Graph:Stacked/doc
- Harvard citation
- Harvard citation no brackets
- Hashtag
- Hatnote
- Hatnote inline
- Hatnote inline/invoke
- Hatnote templates
- Heavily used template
- Heavily used template/en
- Heavily used template/layout
- Helpbox
- Hidden ping
- High-use
- High-use/num
- High-use/risk
- Hlist
- Hyphen
- ISBN
- Icon
- Icon link
- If
- If empty
- Iffile
- Iffile/doc
- ImageAnnotations
- ImageAnnotations/doc
- ImageNote
- ImageNote/doc
- ImageNote/header
- ImageNote/header/doc
- ImageNote/header/i18n
- ImageNote/header/i18n/en
- ImageNote/header/layout
- ImageNoteColors
- ImageNoteColors/doc
- ImageNoteControl
- ImageNoteControl/doc
- ImageNoteEnd
- ImageWithNotes
- ImageWithNotes/doc
- Image frame
- Image frame/doc
- In5
- Infobox
- Infobox/doc
- Infobox election
- Infobox election/doc
- Infobox election/row
- Infobox election/testcases
- Infobox voting method
- Information field
- InlineImageAnnotations
- InlineImageAnnotations/doc
- Inline cleanup tags
- Inline talk templates
- Interrupted
- Intmath
- Item
- JSTOR
- JournalUpdate
- KISS
- Lang
- LangSwitch
- Lang links
- Language-code-documentation
- Language templates
- Larger
- List of nowrap-like templates
- Loginwiki
- Lorem ipsum
- Ls
- Lt
- Lts