This template generates a button for performing an action on a page.

භාවිතය

සංස්කරණය

There are three required parameters.

  • page — The name of the page to be acted upon.
  • query — The query string for what is do be done to the page. Avoid spaces in this (use underscore instead).
  • text — The text for the button.

For example, a button labeled "create foobar" to create a page foobar, using editintro page Template:Foobar/editintro and initial content Template:Foobar/preload, could be created by call

{{Query button/උපදෙස්|page=foobar|query=action=edit&editintro=Template:Foobar/editintro&preload=Template:Foobar/preload|text=create foobar}}

and would appear as

This template generates a button for performing an action on a page.

භාවිතය

සංස්කරණය

There are three required parameters.

  • page — The name of the page to be acted upon.
  • query — The query string for what is do be done to the page. Avoid spaces in this (use underscore instead).
  • text — The text for the button.

For example, a button labeled "create foobar" to create a page foobar, using editintro page Template:Foobar/editintro and initial content Template:Foobar/preload, could be created by call

{{Query button/උපදෙස්|page=foobar|query=action=edit&editintro=Template:Foobar/editintro&preload=Template:Foobar/preload|text=create foobar}}

and would appear as

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Query button/උපදෙස්

There are also two optional parameters.

  • background — The color for the background of the button. The default is white.
  • border — The color for the border of the button. The default is black.

For example,

{{Query button/උපදෙස්|page=foobar|query=action=edit|text=edit foobar|background=yellow|border=red}}

would appear as

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Query button/උපදෙස්

There are also two optional parameters.

  • background — The color for the background of the button. The default is white.
  • border — The color for the border of the button. The default is black.

For example,

{{Query button/උපදෙස්|page=foobar|query=action=edit|text=edit foobar|background=yellow|border=red}}

would appear as

This template generates a button for performing an action on a page.

භාවිතය

සංස්කරණය

There are three required parameters.

  • page — The name of the page to be acted upon.
  • query — The query string for what is do be done to the page. Avoid spaces in this (use underscore instead).
  • text — The text for the button.

For example, a button labeled "create foobar" to create a page foobar, using editintro page Template:Foobar/editintro and initial content Template:Foobar/preload, could be created by call

{{Query button/උපදෙස්|page=foobar|query=action=edit&editintro=Template:Foobar/editintro&preload=Template:Foobar/preload|text=create foobar}}

and would appear as

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Query button/උපදෙස්

There are also two optional parameters.

  • background — The color for the background of the button. The default is white.
  • border — The color for the border of the button. The default is black.

For example,

{{Query button/උපදෙස්|page=foobar|query=action=edit|text=edit foobar|background=yellow|border=red}}

would appear as

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Query button/උපදෙස්


"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:Query_button/උපදෙස්&oldid=20853" වෙතින් සම්ප්‍රවේශනය කෙරිණි