Jump to content
Main menu
Main menu
move to sidebar
hide
Nabegasion
Fanhaluman
Fanhaluman komunida
Tinilaika siha gi halacha
Maseha håfa na påhina
Ayuda
Manespesiat na påhina
Aligao
Aligao
Appearance
Nina'i siha
Fa'tinas kuenta-hu
Log in
Ramientan petsonat
Nina'i siha
Fa'tinas kuenta-hu
Log in
Pages for logged out editors
learn more
Contributions
Kuentusiyi i IP este
Tumulaika
Module:IncrementParams
Add languages
Module
Diskuti
English
Read
Edit source
View history
Kåhon ramienta
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
Håfa ha na'chetton guini
Umachetton na tinilaika siha
Na'kåtga hulu' i atkibu
Page information
Get shortened URL
Download QR code
Appearance
move to sidebar
hide
Adahi:
Ti ma log-in hao. Mausa iyo-mu IP address sempre para tumulaika i historian påhina este.
Anti-spam check. Do
not
fill this in!
-- STEP 1: Click on the "edit" tab at the top of the page to edit this module. -- STEP 2: if you want to increment by a number other than 1, put that number below, after the equals sign. local increment = 1 -- STEP 3: Replace the example template text with the template text that you wish to increment. local templatetext = [==========[ |header3 = Section 1 |label5 = Label A |data5 = Data A |label7 = Label C |data7 = Data C |header10 = Section 2 |label12 = Label D |data12 = Data D ]==========] -- STEP 4: Save this module. -- STEP 5: You can now output the incremented text with the following code: -- {{subst:#invoke:IncrementParams|main}} -- Or you can simply copy and paste the text from this module's documentation. -- STEP 6: Check the output! In rare cases this module might produce false positives. -- For example, it will change the text "[[Some link|foo3=bar]]" to "[[Some link|foo4=bar]]". -- You can use the "show changes" function in the edit window of the template you are editing -- to find any false positives. -- STEP 7: When you are finished, undo your changes to this page, so that the next person -- won't be confused by seeing any non-default values. Thanks for using this module! local p = {} local function replace(prefix, num, suffix) return '|' .. prefix .. tostring(tonumber(num) + increment) .. suffix .. '=' end function p.main(frame) -- Increment the template text. templatetext = mw.ustring.gsub(templatetext, '|(%s*%a?[%a_%-]-%s*)([1-9]%d*)(%s*[%a_%-]-%a?%s*)=', replace) -- Add pre tags and escape html etc. if the pre option is set. if frame and frame.args and frame.args.pre and frame.args.pre ~= '' then templatetext = mw.text.nowiki(templatetext) templatetext = '<pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; ' .. 'white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">' .. templatetext .. '</pre>' end return templatetext end return p
Sumaria:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Kansela
Ayudo tumulaika
(para u baba gi nuebu na bentåna)
Preview page with this template
Wikidata entities used in this page
Module:IncrementParams
: Sitelink, Description: en
I plantiyas siha ni ma'usa gi påhina:
Template:Module other
(
tulaika
)
Template:Module rating
(
tulaika
)
Template:Ombox
(
tulaika
)
Template:Tl
(
tulaika
)
Module:Arguments
(
tulaika
)
Module:Category handler
(
tulaika
)
Module:Category handler/blacklist
(
tulaika
)
Module:Category handler/config
(
tulaika
)
Module:Category handler/data
(
tulaika
)
Module:Category handler/shared
(
tulaika
)
Module:IncrementParams
(
tulaika
)
Module:IncrementParams/doc
(
tulaika
)
Module:Message box
(
tulaika
)
Module:Message box/configuration
(
tulaika
)
Module:Namespace detect/config
(
tulaika
)
Module:Namespace detect/data
(
tulaika
)
Module:No globals
(
tulaika
)
Module:Yesno
(
tulaika
)
Aligao
Aligao
Tumulaika
Module:IncrementParams
Add languages
Add topic